We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a190960 commit 5c2f289Copy full SHA for 5c2f289
1 file changed
src/_fastdss.c
@@ -1027,6 +1027,9 @@ PyMODINIT_FUNC PyInit__fastdss()
1027
{
1028
return NULL;
1029
}
1030
+#ifdef Py_GIL_DISABLED
1031
+ PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
1032
+#endif
1033
1034
Py_INCREF(&AltDSS_PyContextType);
1035
if (PyModule_AddObject(m, "AltDSS_PyContext", (PyObject *) &AltDSS_PyContextType) < 0)
0 commit comments