[issue47254] enhanced dir?

Jelle Zijlstra report at bugs.python.org
Thu Apr 7 19:55:13 EDT 2022


Jelle Zijlstra <jelle.zijlstra at gmail.com> added the comment:

This would be nice, but backward compatibility alone means we can't change dir() to return a dictionary. What you propose would make more sense as a new function, perhaps in a package like pydoc or a third-party tool like IPython.

----------
nosy: +JelleZijlstra

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47254>
_______________________________________


More information about the Python-bugs-list mailing list