]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94196: Remove gzip.GzipFile.filename attribute (#94197)
authorVictor Stinner <vstinner@python.org>
Fri, 24 Jun 2022 09:59:32 +0000 (11:59 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Jun 2022 09:59:32 +0000 (11:59 +0200)
commitd3a27e4c9339d787f2eb3e68fd3b12e303cb4a42
treeea345636f50dc9dd7f2d4d343ba2c8c0874c248b
parentd435a18c537a62a89a70005885e6e09f58997d8a
gh-94196: Remove gzip.GzipFile.filename attribute (#94197)

gzip: Remove the filename attribute of gzip.GzipFile,
deprecated since Python 2.6, use the name attribute instead. In write
mode, the filename attribute added '.gz' file extension if it was not
present.
Doc/library/gzip.rst
Doc/whatsnew/3.12.rst
Lib/gzip.py
Misc/NEWS.d/next/Library/2022-06-24-09-41-41.gh-issue-94196.r2KyfS.rst [new file with mode: 0644]