[issue2346] Py3K warn against using __members__

Jack Diederich report at bugs.python.org
Wed Mar 19 18:04:43 CET 2008


Jack Diederich <jackdied at gmail.com> added the comment:

This patch raises a py3k warning from inside the dir() machinery so it
will only warn when dir() is called on an object with an old style
__members__ or __methods__ attribute.  It does not warn if there is an
old style __members__ attribute that is not used.

----------
assignee:  -> jackdied
keywords: +patch
nosy: +jackdied
Added file: http://bugs.python.org/file9768/methods_members.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2346>
__________________________________


More information about the Python-bugs-list mailing list