[BUG] Doesn't compile with Python 3.11 due to deprecated functions
6wl opened this issue · 5 comments
6wl commented
Describe the bug
Compiling with Python 3.11 fails
To Reproduce
Steps to reproduce the behaviour:
- Download Fedora 37 beta, this includes Python 3.11 rc1 ish
- Compile the code
- Get a few compile errors
- python3.cc:129:5: error: 'PySys_SetArgvEx' is deprecated
- python3.cc:145:5: error: 'Py_SetProgramName' is deprecated
Expected behavior
Compile before and after the change
Actual behavior
Fails to compile with 3.11
NobodyXu commented
I don't have much time for this project right now, would you like to open a PR for this?