python - be: Allow Oid_FromPyObject to implicity use a type's Oid Check

Started by Nonameover 21 years ago1 messagescomitters
Jump to latest
#1Noname
jwp@pgfoundry.org

Log Message:
-----------
Allow Oid_FromPyObject to implicity use a type's Oid
Check the result of PyNumber_Int and return InvalidOid on error.

This should be more stingy about what it will take, but for now it's convenient.

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