[issue24461] os.environ.get treats Environt variant with double quotation marks wrong

进陆 report at bugs.python.org
Wed Jun 17 11:59:07 CEST 2015


进陆 added the comment:

the patched method should be
[quote]
if os.name=='nt' and res:
    res=res.replace('"', '')
[/quote]

----------

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


More information about the Python-bugs-list mailing list