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 Decorater, eric.snow, ncoghlan, serhiy.storchaka, vstinner
Date 2017-11-26.04:42:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Looking more closely at the code, I've realised Victor's right - there's no way for Py_DecodeLocale() to accidentally trigger an attempt to import the "encodings" module.

Instead, the error is likely coming from the init_sys_streams step towards the end of the initialization process. The way the embedded test cases are currently being run unfortunately truncated that traceback.

Rather than trying to improve the test case error reporting under the scope of this issue, I've instead filed to cover factoring the runtime embedding tests out to their own test file.
Date User Action Args
2017-11-26 04:42:25ncoghlansetrecipients: + ncoghlan, vstinner, eric.snow, serhiy.storchaka, Decorater
2017-11-26 04:42:25ncoghlansetmessageid: <>
2017-11-26 04:42:25ncoghlanlinkissue32096 messages
2017-11-26 04:42:24ncoghlancreate