COMMITS
/ Lib/tempfile.py February 24, 2026
S
gh-66305: Fix a hang on Windows in the tempfile module (GH-144672)
Serhiy Storchaka committed
December 8, 2025
V
Fix pyflakes warnings: variable is assigned to but never used (#142294)
Victor Stinner committed
July 8, 2025
V
gh-136156: Allow using linkat() with TemporaryFile (#136281)
Victor Stinner committed
May 21, 2025
B
gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085)
Bénédikt Tran committed
March 4, 2025
B
gh-127371 Avoid unbounded growth SpooledTempfile.writelines (GH-127372)
Bert Peters committed
December 18, 2024
T
gh-126639: Add ResourceWarning to NamedTemporaryFile (#126677)
Thomas Grainger committed
December 14, 2023
S
gh-59616: Support os.chmod(follow_symlinks=True) and os.lchmod() on Windows (GH-113049)
Serhiy Storchaka committed
December 7, 2023
S
gh-79325: Fix recursion error in TemporaryDirectory cleanup on Windows (GH-112762)
Serhiy Storchaka committed
S
gh-87319: Simplify TemporaryDirectory cleanup using os.path.isjunction() (GH-112791)
Serhiy Storchaka committed
S
gh-91133: tempfile.TemporaryDirectory: fix symlink bug in cleanup (GH-99930)
Søren Løvborg committed
December 5, 2023
April 25, 2023
S
gh-51574: Make tempfile.mkdtemp() always return absolute paths (#94612)
Samuel Sloniker committed
March 24, 2023
March 21, 2023
I
gh-102828: emit deprecation warning for onerror arg to shutil.rmtree (#102850)
Irit Katriel committed
October 4, 2022
June 26, 2022
S
gh-83499: Fix closing file descriptors in tempfile (GH-93874)
Serhiy Storchaka committed
May 3, 2022
C
gh-70363: Implement `io.IOBase` interface for `SpooledTemporaryFile` (GH-29560)
Carey Metcalfe committed
October 20, 2021
K
bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (GH-28323)
Kyungmin Lee committed
May 19, 2021
C
bpo-4928: Document NamedTemporaryFile non-deletion after SIGKILL (#26198)
Catherine Devlin committed
March 29, 2021
I
bpo-43510: Implement PEP 597 opt-in EncodingWarning. (GH-19481)
Inada Naoki committed
March 14, 2021
C
bpo-29982: Add "ignore_cleanup_errors" param to tempfile.TemporaryDirectory() (GH-24793)
CAM Gerlach committed
March 3, 2021
November 1, 2020
I
tempfile: Use random.choises() instead of choise() (GH-23068)
Inada Naoki committed
October 31, 2020
I
Revert "bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997)"
Inada Naoki committed
October 30, 2020
E
bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997)
Eric W committed
August 14, 2020
R
bpo-41410: Fix outdated info in mkstemp docs (GH-21701)
Rishav Kundu committed
April 17, 2020
I
bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540)
Inada Naoki committed
April 10, 2020
B
bpo-39481: PEP 585 for a variety of modules (GH-19423)
Batuhan Taşkaya committed
April 7, 2020
G
bpo-39481: Implementation for PEP 585 (#18239)
Guido van Rossum committed
March 17, 2020
S
bpo-39719: Remove softspace from tempfile.SpooledTemporaryFile (GH-18599)
Shantanu committed
December 30, 2019
B
bpo-39019: Implement missing __class_getitem__ for SpooledTemporaryFile (GH-17560)
Batuhan Taşkaya committed
November 27, 2019
I
bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400)
Inada Naoki committed
June 24, 2019
S
bpo-37363: Add audit events for a range of modules (GH-14301)
Steve Dower committed
May 31, 2019
S
bpo-26660, bpo-35144: Fix permission errors in TemporaryDirectory cleanup. (GH-10320)
Serhiy Storchaka committed
February 25, 2019
A
Clean up code which checked presence of os.{stat,lstat,chmod} (#11643)
Anthony Sottile committed
May 23, 2018
May 16, 2018
S
bpo-33522: Enable CI builds on Visual Studio Team Services (#6865)
Steve Dower committed
April 9, 2018
W
Update docstring of tempfile._RandomNameSequence (GH-6414)
Wolfgang Maier committed
September 7, 2017
A
bpo-31370: Remove support for threads-less builds (#3385)
Antoine Pitrou committed
April 19, 2017
V
bpo-30030: Revert f50354ad (tempfile) (#1187)
Victor Stinner committed
April 11, 2017
S
Reimplement tempfile._RandomNameSequence using a generator function. (#1075)
Serhiy Storchaka committed
March 22, 2016
V
Add a source parameter to warnings.warn()
Victor Stinner committed
February 28, 2016
M
Issue #26385: Cleanup NamedTemporaryFile if open() fails, by SilentGhost
Martin Panter committed
February 22, 2016
M
Issue #26261: Clarify NamedTemporaryFile name attribute vs file.name
Martin Panter committed
November 7, 2015
M
Issue #25064: Adjust documentation according to new mkstemp signature
Martin Panter committed
October 20, 2015
V
Issue #21515: Elaborate tempfile.TemporaryFile() comment
Victor Stinner committed
May 22, 2015
G
Issue 24230: The tempfile module now accepts bytes for prefix, suffix and dir
Gregory P. Smith committed
May 19, 2015
S
Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
Serhiy Storchaka committed
S
Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
Serhiy Storchaka committed
April 10, 2015
S
Issue #23865: close() methods in multiple modules now are idempotent and more
Serhiy Storchaka committed