File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 6262 - " 3.12"
6363 - " 3.13"
6464 - " 3.14"
65+ - " 3.14t"
6566 - " pypy-3.10"
6667 is_main :
6768 - ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ New features
4545
4646* Validated compatibility with Python 3.14.
4747
48+ * Added support for free-threaded Python.
49+
4850Improvements
4951............
5052
Original file line number Diff line number Diff line change @@ -218,5 +218,12 @@ static struct PyModuleDef speedups_module = {
218218PyMODINIT_FUNC
219219PyInit_speedups (void )
220220{
221- return PyModule_Create (& speedups_module );
221+ PyObject * m = PyModule_Create (& speedups_module );
222+ if (m == NULL ) {
223+ return NULL ;
224+ }
225+ #ifdef Py_GIL_DISABLED
226+ PyUnstable_Module_SetGIL (m , Py_MOD_GIL_NOT_USED );
227+ #endif
228+ return m ;
222229}
You can’t perform that action at this time.
0 commit comments