Skip to content

gh-159422: Always close GzipFile in __del__ even if the warning fails - #159423

Open
brittanyrey wants to merge 3 commits into
python:mainfrom
brittanyrey:b-gzip-del-close
Open

brittanyrey wants to merge 3 commits into
python:mainfrom
brittanyrey:b-gzip-del-close

Test GzipFile.__del__ by mocking warnings.warn instead of at shutdown

8ef5db9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
DO-NOT-MERGE
succeeded Oct 14, 2026 in 9s