Message360057
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. | |
| Date | User | Action | Args | | 2020-01-15 15:29:47 | vstinner | set | recipients: + vstinner, eric.snow | | 2020-01-15 15:29:47 | vstinner | set | messageid: <1579102187.76.0.142719686011.issue38858@roundup.psfhosted.org> | | 2020-01-15 15:29:47 | vstinner | link | issue38858 messages | | 2020-01-15 15:29:47 | vstinner | create | | |