Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Fixed build with python-3.13#1111

Merged
jopohl merged 1 commit into
jopohl:masterfrom
yarda:python-3.13
Apr 6, 2024
Merged

Fixed build with python-3.13#1111
jopohl merged 1 commit into
jopohl:masterfrom
yarda:python-3.13

Conversation

@yarda

@yarda yarda commented Apr 4, 2024

Copy link
Copy Markdown
Contributor

According to https://docs.python.org/3.13/whatsnew/3.13.html:

Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions, deprecated in Python 3.9. Since Python 3.7, Py_Initialize() always creates the GIL: calling PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized() always returned non-zero. (Contributed by Victor Stinner in python/cpython#105182.)

If support for < python-3.7 is required, conditionals have to be added

According to https://docs.python.org/3.13/whatsnew/3.13.html:

Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions, deprecated in Python 3.9.
Since Python 3.7, Py_Initialize() always creates the GIL:
calling PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized() always returned non-zero.
(Contributed by Victor Stinner in python/cpython#105182.)

If support for < python-3.7 is required, conditionals have to be added

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
@CLAassistant

CLAassistant commented Apr 4, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jopohl jopohl merged commit 8886970 into jopohl:master Apr 6, 2024
dl1jbe pushed a commit to dl1jbe/urh that referenced this pull request Nov 15, 2025
According to https://docs.python.org/3.13/whatsnew/3.13.html:

Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions, deprecated in Python 3.9.
Since Python 3.7, Py_Initialize() always creates the GIL:
calling PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized() always returned non-zero.
(Contributed by Victor Stinner in python/cpython#105182.)

If support for < python-3.7 is required, conditionals have to be added

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
dl1jbe pushed a commit to dl1jbe/urh that referenced this pull request Nov 15, 2025
According to https://docs.python.org/3.13/whatsnew/3.13.html:

Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions, deprecated in Python 3.9.
Since Python 3.7, Py_Initialize() always creates the GIL:
calling PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized() always returned non-zero.
(Contributed by Victor Stinner in python/cpython#105182.)

If support for < python-3.7 is required, conditionals have to be added

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
dl1jbe pushed a commit to dl1jbe/urh that referenced this pull request Nov 23, 2025
According to https://docs.python.org/3.13/whatsnew/3.13.html:

Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions, deprecated in Python 3.9.
Since Python 3.7, Py_Initialize() always creates the GIL:
calling PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized() always returned non-zero.
(Contributed by Victor Stinner in python/cpython#105182.)

If support for < python-3.7 is required, conditionals have to be added

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants