Marc-Andre Lemburg added the comment: On 21.02.2013 17:36, Marc-Andre Lemburg wrote: > 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.
Sorry: *tp_methods*, not tp_members. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17268> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com