Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

What if os.system(), os.execvp() and friends used "wcstombs" (or 
locale.preferredencoding) to convert arguments from unicode to bytes? this 
would at least guarantee round-trip when spawning another python interpreter.

An interesting test is to compare the effects of os.unlink(filename) and 
os.system('rm "%s"' % filename), where filename is non-ascii. Does it work 
today?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4388>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to