[3.10] gh-150599: Prevent bz2 decompressor reuse after errors (#150600) (#151133)

* [3.12] gh-150599: Prevent bz2 decompressor reuse after errors (#150600) (#151054)

(cherry picked from commit 5755d0f083949ff3c5bf3a37e673e24e306b036e)

* We can just make it a plain assignment, 1a9cdaf63af7014dd7bd852b4d8a8c0ab98387ab was 3.15+ anyway.
3 files changed