]> granicus.if.org Git - python/commit
Add basic arg sanity checking to wrap_descr_get(). This is called
authorGuido van Rossum <guido@python.org>
Tue, 11 Feb 2003 16:25:43 +0000 (16:25 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 11 Feb 2003 16:25:43 +0000 (16:25 +0000)
commit82ed25c15a8f79011161356cae5fffb49af8b24a
treed9be188a2d7766d1ab616ff3fdfbd5a303f88653
parentada859c1112f306472995763e21beb357359be9f
Add basic arg sanity checking to wrap_descr_get().  This is called
when Python code calls a descriptor's __get__ method.  It should
translate None to NULL in both argument positions, and insist that at
least one of the argument positions is not NULL after this
transformation.
Objects/typeobject.c