Thread: python - be: Fixes and Features Add 'keys' and 'has_key' methods for

python - be: Fixes and Features Add 'keys' and 'has_key' methods for

From
jwp@pgfoundry.org (User Jwp)
Date:
Log Message:
-----------
Fixes and Features

Add 'keys' and 'has_key' methods for composite types.
Add 'type' member(generic get attribute will fetch it), remove from getattr.
Fix logic in richcompare.
Remove some dead/commented code.

Replace getattr with getattro so we can use the generic get attribute without
creating a new PyString.
Allow access to point coordinates as attributes 'x' and 'y'.
Improve circle interface by allowing x and y to refer to it's coordinates(Note
how it falls through the circle case).

Modified Files:
--------------
    be/src:
        object.c (r1.3 -> r1.4)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/object.c.diff?r1=1.3&r2=1.4)