This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, vstinner
Date 2010-04-19.15:59:10
SpamBayes Score 0.0023060627
Marked as misclassified No
Message-id <1271692752.63.0.0370548801055.issue8393@psf.upfronthosting.co.za>
In-reply-to
Content
"mbcs" is not a fixed encoding and may change between Windows sessions, see the Rationale in PEP277 http://www.python.org/dev/peps/pep-0277/

The mixed case is interesting. We could use CreateProcessW when at least one string is Unicode, and CreateProcessA when all strings are bytes.
OTOH this is unlikely, because for example the environment will be passed as unicode; so I'm OK to use CreateProcessW in all cases, and use mbcs to convert bytes.
History
Date User Action Args
2010-04-19 15:59:12amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, vstinner
2010-04-19 15:59:12amaury.forgeotdarcsetmessageid: <1271692752.63.0.0370548801055.issue8393@psf.upfronthosting.co.za>
2010-04-19 15:59:11amaury.forgeotdarclinkissue8393 messages
2010-04-19 15:59:10amaury.forgeotdarccreate