◐ Shell
clean mode source ↗

bpo-33916: Fix bz2 and lzma init when called twice by vstinner · Pull Request #7843 · python/cpython

bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 23, 2018
bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.
(cherry picked from commit 9b7cf75)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

miss-islington added a commit that referenced this pull request

Jun 23, 2018
bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.
(cherry picked from commit 9b7cf75)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

vstinner added a commit that referenced this pull request

Jun 23, 2018
bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.

(cherry picked from commit 9b7cf75)