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 ncoghlan
Recipients barry, jwilk, ncoghlan
Date 2017-03-21.05:14:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490073268.57.0.669483820859.issue29857@psf.upfronthosting.co.za>
In-reply-to
Content
For CPython, I was thinking of having it be "whatever gets passed to Py_Main", and that accepts wchar_t in Py3 [1], so on *Nix systems, the command line has already been decoded with [2] by the time it runs.

[1] https://docs.python.org/3/c-api/veryhigh.html#c.Py_Main
[2] https://docs.python.org/3/c-api/sys.html#c.Py_DecodeLocale

In the case of Windows, the wchar_t array is received straight from the OS as UTF-16-LE.
History
Date User Action Args
2017-03-21 05:14:28ncoghlansetrecipients: + ncoghlan, barry, jwilk
2017-03-21 05:14:28ncoghlansetmessageid: <1490073268.57.0.669483820859.issue29857@psf.upfronthosting.co.za>
2017-03-21 05:14:28ncoghlanlinkissue29857 messages
2017-03-21 05:14:28ncoghlancreate