| commit | 5592f2b9daa24bf74cc616abcc40a29da2bdccb2 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <vstinner@python.org> | Fri Feb 19 13:21:28 2021 +0100 |
| committer | GitHub <noreply@github.com> | Fri Feb 19 13:21:28 2021 +0100 |
| tree | 532d865e35e6a5338310bb093841f30a7897d964 | |
| parent | 2bb0bf4dd8c0bd4d23eb04afce1a5eeee8e07982 [diff] |
bpo-43268: Replace _PyThreadState_GET() with _PyInterpreterState_GET() (GH-24576) Replace _PyThreadState_GET() with _PyInterpreterState_GET() in functions which only need the current interpreter, but don't need the current Python thread state. Replace also _PyThreadState_UncheckedGet() with _PyThreadState_GET() in faulthandler.c, since _PyThreadState_UncheckedGet() is just an alias to _PyThreadState_GET() in practice.