This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients lemburg
Date 2013-02-21.16:36:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361464598.2.0.488657628625.issue17268@psf.upfronthosting.co.za>
In-reply-to
Content
After some experiments, it turned out that by simply filling in the tp_methods slot, the problem went away.

Still, the change to use _PyObject_LookupSpecial() appears to have missed the (older) use case where you don't define tp_members, but instead implement method lookup as part of the tp_getattr slot.

Not sure whether this is worth fixing. I just filed this report so that others running into the same problem can find it.
History
Date User Action Args
2013-02-21 16:36:38lemburgsetrecipients: + lemburg
2013-02-21 16:36:38lemburgsetmessageid: <1361464598.2.0.488657628625.issue17268@psf.upfronthosting.co.za>
2013-02-21 16:36:38lemburglinkissue17268 messages
2013-02-21 16:36:37lemburgcreate