-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Description
Importing lz4 in a free-threaded Python re-enables the GIL with the following warning.
$ python
Python 3.13.0 experimental free-threading build (main, Oct 19 2024, 12:34:19) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lz4
<frozen importlib._bootstrap>:488: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'lz4._version', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.
agriyakhetarpal and rgommers
Metadata
Metadata
Assignees
Labels
No labels