Jelle Zijlstra <jelle.zijls...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue47254>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to