The gzip.Gzip.filename attribute is deprecated since Python 2.6. I propose to either remove it, or remove the deprecation.
The deprecation was added by issue #44518: commit 5b1a785.
Attached PR #94197 removes the filename attribute.
gh-94196: Remove gzip.GzipFile.filename attribute (#94197)
Revert 30935 defer bpo45162 to 312 (#94285)
Activity
gh-94196: Remove gzip.GzipFile.filename attribute (#94197)
Revert 30935 defer bpo45162 to 312 (#94285)