diff options
author | Tulio Magno Quites Machado Filho <tuliom@redhat.com> | 2023-10-30 08:55:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 08:55:34 -0300 |
commit | b2929bebb6ce8d75acab4f2fde43213673cb6010 (patch) | |
tree | 7ce3c12254e8b90eb7fc6510adee393e17e4ed49 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 8483d18be5b6b5e8721a10eb558be06008307ec6 (diff) | |
download | llvm-b2929bebb6ce8d75acab4f2fde43213673cb6010.zip llvm-b2929bebb6ce8d75acab4f2fde43213673cb6010.tar.gz llvm-b2929bebb6ce8d75acab4f2fde43213673cb6010.tar.bz2 |
[lldb] Adapt code to Python 3.13 (#70445)
1. Remove usage of PyEval_ThreadsInitialized and PyEval_InitThreads
Both of these functions were removed in Python 3.13 [1] after being
deprecated since Python 3.9.
According to "What's new in Python 3.13" document [1]:
Since Python 3.7, Py_Initialize() always creates the GIL: calling
PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized()
always returned non-zero.
2. Replace _Py_IsFinalizing() with Py_IsFinalizing().
[1] https://docs.python.org/3.13/whatsnew/3.13.html
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions