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 eric.snow, vstinner
Date 2020-01-15.15:29:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579102187.76.0.142719686011.issue38858@roundup.psfhosted.org>
In-reply-to
Content
FYI this change broke librepo which calls PyLong_FromLong() without holding the GIL. In Python 3.8, "it works". In Python 3.9, it does crash: get_small_int() gets a NULL tstate and then dereference a NULL pointer.

librepo bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1788918

IMHO it's a bug in librepo: the GIL must be held to use Python C API.
History
Date User Action Args
2020-01-15 15:29:47vstinnersetrecipients: + vstinner, eric.snow
2020-01-15 15:29:47vstinnersetmessageid: <1579102187.76.0.142719686011.issue38858@roundup.psfhosted.org>
2020-01-15 15:29:47vstinnerlinkissue38858 messages
2020-01-15 15:29:47vstinnercreate