[issue32300] print(os.environ.keys()) should only print the keys
Aaron Meurer
report at bugs.python.org
Wed Dec 13 16:04:52 EST 2017
Aaron Meurer <asmeurer at gmail.com> added the comment:
So the best fix is to just override keys() in the _Environ class, so that it returns an EnvironKeysView class that overrides __repr__?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32300>
_______________________________________
More information about the Python-bugs-list
mailing list