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 corona10, petr.viktorin, vstinner
Date 2021-05-18.17:42:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621359742.01.0.545626403616.issue44131@roundup.psfhosted.org>
In-reply-to
Content
> The tests are now skipped on Windows. It might be better to use a feature check: hasattr(ctypes.pythonapi, 'Py_FrozenMain')

On Unix, _testembed gets the symbol since it's used. Currently, hasattr(ctypes.pythonapi, 'Py_FrozenMain') returns false if Python is built without --enable-shared, even if _testembed is able to get Py_FrozenMain().

I hope that bpo-44133 will be solved soon.
History
Date User Action Args
2021-05-18 17:42:22vstinnersetrecipients: + vstinner, petr.viktorin, corona10
2021-05-18 17:42:22vstinnersetmessageid: <1621359742.01.0.545626403616.issue44131@roundup.psfhosted.org>
2021-05-18 17:42:22vstinnerlinkissue44131 messages
2021-05-18 17:42:21vstinnercreate