Decode sys.argv with surrogateescape for Python 3
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Jun 2013 10:11:37 +0000 (03:11 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Jun 2013 10:11:37 +0000 (03:11 -0700)
commita636c88eb998c562bfa8310862caa36315335aae
tree9dba1adb2ead50eb49243052439d314dbc603100
parent2a6b69cf6ac36c262e253ce701dd9db5a24d0f25
Decode sys.argv with surrogateescape for Python 3

With Python 3, the surrogateescape encoding error handler makes it
possible to access the original argv bytes, which can be useful
if their actual encoding does no match the filesystem encoding.
bin/portageq
bin/repoman
pym/_emerge/main.py
pym/portage/__init__.py