[issue44117] [C API] Remove deprecated PyEval_InitThreads()

2021-06-28 Thread STINNER Victor
STINNER Victor added the comment: The function is part of the stable ABI so I prefer to keep it for now. https://github.com/python/cpython/pull/26070#issuecomment-839871560 I close the issue. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue44117] [C API] Remove deprecated PyEval_InitThreads()

2021-05-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Should not they be kept for binary compatibility, so you can link with extensions compiled for older Python versions? They can be removed from headers, so newly compiled extensions will not be able to use them. -- nosy: +serhiy.storchaka

[issue44117] [C API] Remove deprecated PyEval_InitThreads()

2021-05-14 Thread Inada Naoki
Inada Naoki added the comment: It seems they are stable ABI. https://github.com/python/cpython/blob/56b8ea65d28bd865e2363e10e9f1c2ca3433ffc2/Misc/stable_abi.txt#L604 https://github.com/python/cpython/blob/56b8ea65d28bd865e2363e10e9f1c2ca3433ffc2/Misc/stable_abi.txt#L614 We may need to keep

[issue44117] [C API] Remove deprecated PyEval_InitThreads()

2021-05-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +24711 pull_request: https://github.com/python/cpython/pull/26071 ___ Python tracker ___

[issue44117] [C API] Remove deprecated PyEval_InitThreads()

2021-05-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +24710 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26070 ___ Python tracker ___

[issue44117] [C API] Remove deprecated PyEval_InitThreads()

2021-05-12 Thread STINNER Victor
New submission from STINNER Victor : Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions. The GIL is created by Py_Initialize() since Python 3.7, and so calling PyEval_InitThreads() explicitly was useless since Python 3.7. Deprecated in 3.9, PyEval_InitThreads() did nothing