[issue12166] object.__dir__

2011-05-24 Thread Michael Foord
New submission from Michael Foord : Implementing a custom __dir__ method is fiddly because there is no way of obtaining the standard list of attributes that dir would return. Moving the relevant parts of the dir implementation into object.__dir__ would allow a custom __dir__ to obtain the "sta

[issue12166] object.__dir__

2011-05-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue12166] object.__dir__

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f403199f999 by Benjamin Peterson in branch 'default': move specialized dir implementations into __dir__ methods (closes #12166) http://hg.python.org/cpython/rev/8f403199f999 -- nosy: +python-dev resolution: -> fixed stage: -> committed/r