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 dangermouseb, eric.snow, isoschiz, ncoghlan, pconnell, pitrou, vstinner, ynkdir
Date 2019-05-27.14:45:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558968329.3.0.787409765613.issue13533@roundup.psfhosted.org>
In-reply-to
Content
> I'm building a dll add-in (on Windows) in which I want to use the installed version of Python, not provide my own installation. When py_initialize fails it appears to call exit(). (...)

This issue has been fixed by the PEP 587 in bpo-36763: Py_InitializeFromConfig() now returns a PyStatus structure which is a success, error message or an exit code. The caller can decide how to handle it.
History
Date User Action Args
2019-05-27 14:45:29vstinnersetrecipients: + vstinner, ncoghlan, pitrou, ynkdir, eric.snow, dangermouseb, pconnell, isoschiz
2019-05-27 14:45:29vstinnersetmessageid: <1558968329.3.0.787409765613.issue13533@roundup.psfhosted.org>
2019-05-27 14:45:29vstinnerlinkissue13533 messages
2019-05-27 14:45:29vstinnercreate