Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,19 @@ sysconfig
(Contributed by Miro Hrončok in :issue:`45413`.)


.. _whatsnew311-tempfile:

tempfile
--------

* :class:`~tempfile.SpooledTemporaryFile` objects now fully implements the methods
of :class:`io.BufferedIOBase` or :class:`io.TextIOBase`
(depending on file mode).
This lets them work correctly with APIs that expect file-like objects,
such as compression modules.
(Contributed by Carey Metcalfe in :gh:`70363`.)


threading
---------

Expand Down