[Python-ideas] Implementing __dir__ (moving dir implementation to object.__dir__?)

Michael Foord fuzzyman at gmail.com
Tue May 24 11:24:43 CEST 2011


On 24 May 2011 01:10, Benjamin Peterson <benjamin at python.org> wrote:

> Michael Foord <fuzzyman at ...> writes:
> > Moving the relevant parts of the implementation of dir into
> object.__dir__
> would be one way to solve that.
>
> Sounds fine to me. Do file a bug report.
>
>
Thanks. http://bugs.python.org/issue12166

All the best,

Michael


>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>



-- 

http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110524/cd2f0346/attachment.html>


More information about the Python-ideas mailing list