Martin v. Löwis <mar...@v.loewis.de> added the comment: > As os.environb, it would be useful to have bytes version of sys.argv > to have able to decide the encoding used to decode each argument, or > to manipulate bytes if we don't care about the encoding.
-1. Py_Main expects wchar_t*, so no byte-oriented representation of the command line is readily available. ---------- nosy: +loewis _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8776> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com