On 10/08/2013 03:07 PM, Guido van Rossum wrote:
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.
If want help to be effected that is easy enough -- there is already an inspect.classify_class_attrs wrapper, so if we add some post-processing to remove anything not in dir(obj) we would keep the current behavior in help().
Any other comments/recollections/concerns? -- ~Ethan~ _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com