[issue8776] Bytes version of sys.argv
STINNER Victor
report at bugs.python.org
Mon Apr 28 22:49:24 CEST 2014
STINNER Victor added the comment:
Today I regret os.environb (I added it). If I remember correctly, os.environb was added before the PEP 383 (surrogateescape). This PEP makes os.environb almost useless. In Python 3, Unicode is the natural choice, and thanks to the PEP 383, it's still possible to use any "raw bytes".
argvb can be computed in one line: list(map(os.fsencode, sys.argv)).
I now suggest to close this issue as wontfix.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8776>
_______________________________________
More information about the Python-bugs-list
mailing list