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 amaury.forgeotdarc, lemburg, r37c, vstinner
Date 2019-10-22.22:48:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571784516.4.0.349383248202.issue17978@roundup.psfhosted.org>
In-reply-to
Content
Program described in msg189250 does not crash on the master branch of Python. The PEP 587 deeply reworked Python initialization code. There is now a preinitialization phase, for example.

Moreover, Programs/_testembed.c has a test calling Py_Initialize()+Py_Finalize() multiple times, and this test calls Py_SetProgramName() as well.

Upgrade to Python 3.8 to get the fix. (I didn't check if Python 3.7 is also fixed.)
History
Date User Action Args
2019-10-22 22:48:36vstinnersetrecipients: + vstinner, lemburg, amaury.forgeotdarc, r37c
2019-10-22 22:48:36vstinnersetmessageid: <1571784516.4.0.349383248202.issue17978@roundup.psfhosted.org>
2019-10-22 22:48:36vstinnerlinkissue17978 messages
2019-10-22 22:48:36vstinnercreate