Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

PyEval_ReInitThreads removed since python 3.8 #39

Open
wujunfeng1 opened this issue Feb 2, 2021 · 2 comments
Open

PyEval_ReInitThreads removed since python 3.8 #39

wujunfeng1 opened this issue Feb 2, 2021 · 2 comments

Comments

@wujunfeng1
Copy link

Describe what happened:
PyEval_ReInitThreads() uses C.PyEval_ReInitThreads, but this symbol has been removed since python3.8.

Describe what you expected:
Please revise the code to check whether symbol C.PyEval_ReInitThreads exists. If not, just skip using this symbol in PyEval_ReInitThreads().

Steps to reproduce the issue:
With python 3.8, get go-python3 package.

@christian-korneck
Copy link
Contributor

just in case that it helps, I've done this for Python 3.8 here for my own use. Some more has to be removed for Python 3.9.

@wujunfeng1
Copy link
Author

wujunfeng1 commented Feb 2, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants