[issue17702] os.environ converts key type from string to bytes in KeyError exception

R. David Murray report at bugs.python.org
Fri Apr 12 08:23:07 CEST 2013


R. David Murray added the comment:

Well, it is not that it is converting it in the exception, it is that it is converting it in order to do the lookup.  It is an interesting question whether or not its value in the exception should be considered a bug.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17702>
_______________________________________


More information about the Python-bugs-list mailing list