[Python-Dev] inspect() and dir()
Ethan Furman
ethan at stoneleaf.us
Tue Oct 8 23:29:02 CEST 2013
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~
More information about the Python-Dev
mailing list