This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Aaron.Meurer, cheryl.sabella, r.david.murray, rhettinger, serhiy.storchaka, vstinner
Date 2017-12-14.17:14:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513271677.5.0.213398074469.issue32300@psf.upfronthosting.co.za>
In-reply-to
Content
Options:

1. Use the subclass of KeyView with overridden __repr__ for os.environ.keys(). This will add a code for pretty rare use case.

2. Remove os.environ.__repr__. You can use repr(os.environ.copy()) or repr(dict(os.environ)) if you want to see a content.

3. Do not change anything. You can use repr(list(os.environ.keys())) if you want to see only keys.
History
Date User Action Args
2017-12-14 17:14:37serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, vstinner, r.david.murray, Aaron.Meurer, cheryl.sabella
2017-12-14 17:14:37serhiy.storchakasetmessageid: <1513271677.5.0.213398074469.issue32300@psf.upfronthosting.co.za>
2017-12-14 17:14:37serhiy.storchakalinkissue32300 messages
2017-12-14 17:14:37serhiy.storchakacreate