STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> PEP 277 explicitly states that unicode strings should be passed to
>  wide-character functions, whereas byte strings use "standard"
> functions. This is done in posixmodule.c, for example.

CreateProcessW takes a lot of arguments. Should we CreateProcessA or 
CreateProcessW if some arguments are byte string and other are unicode string?

> The "current locale" is a moving thing.

Don't CreateProcessA do the same thing? Convert byte string to unicode using 
the current locale. To use the right words, by "current locale" I mean the 
"mbcs" Windows codec.

----------

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

Reply via email to