]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-152586: Make `tempfile.TemporaryFileWrapper` public (#152646)
authorAniket <148300120+Aniketsy@users.noreply.github.com>
Tue, 7 Jul 2026 21:34:16 +0000 (03:04 +0530)
committerGitHub <noreply@github.com>
Tue, 7 Jul 2026 21:34:16 +0000 (21:34 +0000)
commitaa533dce22bf20ba3c1e954aefb245ca1b63543b
tree879c8d680d4f2afa8fb36ce5c2bbedd030b4f801
parent374920a23d49130f446fe6369220bc548be57cd2
gh-152586: Make `tempfile.TemporaryFileWrapper` public (#152646)

Deprecate old compatibility `tempfile._TemporaryFileWrapper` name, schedule it to be removed in Python 3.21

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Doc/deprecations/pending-removal-in-3.21.rst
Doc/library/tempfile.rst
Doc/whatsnew/3.16.rst
Lib/tempfile.py
Lib/test/test_tempfile.py
Lib/test/test_urllib_response.py
Lib/urllib/response.py
Misc/NEWS.d/next/Library/2026-07-01-22-59-25.gh-issue-152586.WuEae6.rst [new file with mode: 0644]