Skip to content

Enable mwparserfromhell for use with thread-free Python releases #343

Description

@xqt

Running Python 3.13t (the thread-free variant of Python 3.13 without GIL restriction) gives the following warning:

<frozen importlib._bootstrap>:488: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'mwparserfromhell.parser._tokenizer', 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.

See pre-tests: https://github.com/xqt/pwb/actions/runs/18751830436/job/53493241287
See also: #181

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions