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

From: jwp(at)pgfoundry(dot)org (User Jwp)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Fixes and Features Add 'keys' and 'has_key' methods for
Date: 2005-04-17 22:01:57
Message-ID: 20050417220157.62FE81FB6218@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-04-17 22:24:02 pgsql: Initial implementation of lossy-tuple-bitmap data structures.
Previous Message User Jwp 2005-04-17 21:50:32 python - be: Use the convenience macro