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 Tasy, vstinner, xtreak
Date 2019-01-23.14:06:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548252389.97.0.700683020313.issue35713@roundup.psfhosted.org>
In-reply-to
Content
"""
> Fatal Python error: _PySys_BeginInit: can't initialize sys module

I have no idea why you get this error. You should try to run this function in a debugger like gdb and run the code step by step to see what happens.
"""

I pushed 3 changes to get working exceptions and working sys.stderr earlier during Python initialization. It should help to display the current exceptions when Py_FatalError() is called during early stage of the Python initialization.
History
Date User Action Args
2019-01-23 14:06:31vstinnersetrecipients: + vstinner, xtreak, Tasy
2019-01-23 14:06:29vstinnersetmessageid: <1548252389.97.0.700683020313.issue35713@roundup.psfhosted.org>
2019-01-23 14:06:29vstinnerlinkissue35713 messages
2019-01-23 14:06:29vstinnercreate