commit | 82ed25c15a8f79011161356cae5fffb49af8b24a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Feb 11 16:25:43 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Feb 11 16:25:43 2003 +0000 |
tree | d9be188a2d7766d1ab616ff3fdfbd5a303f88653 | |
parent | ada859c1112f306472995763e21beb357359be9f [diff] |
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.