I'd say that the effect overriding dir() has on help() is intentional. Not sure about inspect -- it has other uses. However, the last time I used it I was definitely hunting for stuff to document. On Tue, Oct 8, 2013 at 2:29 PM, Ethan Furman <ethan at stoneleaf.us> wrote: > Greetings, > > Currently, inspect() is dependent on dir(). > > Now that we can override what dir() returns on a class by class basis, we > are seeing the side-effect of (possibly) incomplete inspect results, with > also leads to (possibly) incomplete help(). > > I would think we want inspect to be more thorough, and return whatever it > finds on the object, as well as whatever an abbreviated dir() might return. > > Thoughts? > > -- > ~Ethan~ > ______________________________**_________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/**mailman/listinfo/python-dev<https://mail.python.org/mailman/listinfo/python-dev> > Unsubscribe: https://mail.python.org/**mailman/options/python-dev/** > guido%40python.org<https://mail.python.org/mailman/options/python-dev/guido%40python.org> > -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131008/26b6ad3a/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4