python - be: Fixes and Features Add 'keys' and 'has_key' methods for - Mailing list pgsql-committers

From jwp@pgfoundry.org (User Jwp)
Subject python - be: Fixes and Features Add 'keys' and 'has_key' methods for
Date
Msg-id 20050417220157.62FE81FB6218@pgfoundry.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (User Jwp)
Date:
Subject: python - be: Use the convenience macro
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Initial implementation of lossy-tuple-bitmap data structures.