diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2023-12-24 08:57:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-24 08:57:41 (GMT) |
commit | 894f0e573d9eb49cd5864c44328f10a731852dab (patch) | |
tree | 76ff0bee26f5bfff45e78f56d61f7a3a7e755acb /Lib/test/pickletester.py | |
parent | 050783cb37d6a09d8238fa640814df8a915f6a68 (diff) | |
download | cpython-894f0e573d9eb49cd5864c44328f10a731852dab.zip cpython-894f0e573d9eb49cd5864c44328f10a731852dab.tar.gz cpython-894f0e573d9eb49cd5864c44328f10a731852dab.tar.bz2 |
gh-111784: Fix two segfaults in the elementtree module (GH-113405)
First fix resolve situation when pyexpat module (which contains expat_CAPI
capsule) deallocates before _elementtree, so we need to hold a strong
reference to pyexpat module to.
Second fix resolve situation when module state is deallocated before
deallocation of XMLParser instances, which uses module state to clear
some stuff.
Diffstat (limited to 'Lib/test/pickletester.py')
0 files changed, 0 insertions, 0 deletions