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 vstinner
Recipients Michael.Felt, lukasz.langa, vstinner
Date 2018-08-23.10:51:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535021490.16.0.56676864532.issue34347@psf.upfronthosting.co.za>
In-reply-to
Content
Your issue is about decoding command line argument which is done from main() function. It doesn't use Python codecs, but functions like Py_DecodeLocale().

> Question 1: why is windows excluded? Because it does not use UTF-8 as it's default (it's default is CP1252)

Windows uses wmain() which gets command line arguments as wchar_t* strings: Unicode. No decoding is needed.
History
Date User Action Args
2018-08-23 10:51:30vstinnersetrecipients: + vstinner, lukasz.langa, Michael.Felt
2018-08-23 10:51:30vstinnersetmessageid: <1535021490.16.0.56676864532.issue34347@psf.upfronthosting.co.za>
2018-08-23 10:51:30vstinnerlinkissue34347 messages
2018-08-23 10:51:30vstinnercreate