Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
- "3.12"
- "3.13"
- "3.14"
- "3.14t"
- "pypy-3.10"
is_main:
- ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down
2 changes: 2 additions & 0 deletions docs/project/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ New features

* Validated compatibility with Python 3.14.

* Added support for free-threaded Python.

Improvements
............

Expand Down
9 changes: 8 additions & 1 deletion src/websockets/speedups.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,12 @@ static struct PyModuleDef speedups_module = {
PyMODINIT_FUNC
PyInit_speedups(void)
{
return PyModule_Create(&speedups_module);
PyObject *m = PyModule_Create(&speedups_module);
if (m == NULL) {
return NULL;
}
#ifdef Py_GIL_DISABLED
PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
#endif
return m;
}
Loading