Benjamin Peterson <benja...@python.org> added the comment:

2011/6/3 Nick Coghlan <rep...@bugs.python.org>:
>
> Nick Coghlan <ncogh...@gmail.com> added the comment:
>
> Ah, I wondered about that when I saw Barry was using old-style classes in his 
> example. Perhaps the answer then is to add a PyInstance_Check() to skip 
> invocation of __dir__() completely for old-style classes?

Uh, well, part of point of my checkin was to fix old style class
__dir__(). I think this is a bug in the package we're just exposing.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12248>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to