diff options
author | Victor Stinner <vstinner@python.org> | 2020-03-24 15:32:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 15:32:26 (GMT) |
commit | 5804f878e779712e803be927ca8a6df389d82cdf (patch) | |
tree | 393bdef0f05d253739d2a0335391541cb482fc26 /Python/importlib_external.h | |
parent | 472fc843ca816d65c12f9508ac762ca492165c45 (diff) | |
download | cpython-5804f878e779712e803be927ca8a6df389d82cdf.zip cpython-5804f878e779712e803be927ca8a6df389d82cdf.tar.gz cpython-5804f878e779712e803be927ca8a6df389d82cdf.tar.bz2 |
bpo-20526: Fix PyThreadState_Clear(): don't decref frame (GH-19120)
PyThreadState.frame is a borrowed reference, not a strong reference:
PyThreadState_Clear() must not call Py_CLEAR(tstate->frame).
Remove test_threading.test_warnings_at_exit(): we cannot warranty
that the Python thread state of daemon threads is cleared in a
reliable way during Python shutdown.
Diffstat (limited to 'Python/importlib_external.h')
0 files changed, 0 insertions, 0 deletions