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 vstinner
Recipients barry, eric.smith, ethan.furman, mrabarnett, pitrou, r.david.murray, rhettinger, theller, tim.peters, vstinner
Date 2013-09-09.19:58:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378756685.55.0.611638892044.issue18986@psf.upfronthosting.co.za>
In-reply-to
Content
FYI os.environ uses something similar: keys and values are encoded and decoded using functions. So any transformation is supported.

http://hg.python.org/cpython/file/eac63e7ceb03/Lib/os.py#l636

On UNIX, the encoder and decoder are os.fsencode() and os.fsdecode() (not exactly, the real functions are more strict on the input type).

On Windows, the encoder converts the key to uppercase.
History
Date User Action Args
2013-09-09 19:58:05vstinnersetrecipients: + vstinner, tim.peters, barry, theller, rhettinger, pitrou, eric.smith, mrabarnett, r.david.murray, ethan.furman
2013-09-09 19:58:05vstinnersetmessageid: <1378756685.55.0.611638892044.issue18986@psf.upfronthosting.co.za>
2013-09-09 19:58:05vstinnerlinkissue18986 messages
2013-09-09 19:58:05vstinnercreate