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 Robert.Tasarz
Recipients Robert.Tasarz
Date 2013-04-12.00:36:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365726971.44.0.005141093776.issue17702@psf.upfronthosting.co.za>
In-reply-to
Content
Minimal example:

>>> import os
>>> somekey = 'random'
>>> try:
...   os.environ[somekey]
... except KeyError as e:
...   print(repr(e))
...   somekey == e.args[0]
... 
KeyError(b'random',)
False

Tested in Python 3.3.1 on Debian
History
Date User Action Args
2013-04-12 00:36:11Robert.Tasarzsetrecipients: + Robert.Tasarz
2013-04-12 00:36:11Robert.Tasarzsetmessageid: <1365726971.44.0.005141093776.issue17702@psf.upfronthosting.co.za>
2013-04-12 00:36:11Robert.Tasarzlinkissue17702 messages
2013-04-12 00:36:11Robert.Tasarzcreate