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 <rep...@bugs.python.org> <http://bugs.python.org/issue8776> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com