Skip to content
Snippets Groups Projects
Unverified Commit f3f8b6fc authored by C.A.M. Gerlach's avatar C.A.M. Gerlach Committed by GitHub
Browse files

gh-95913: Add io support for SpooledTemporaryFile in 3.11 Whatsnew (#98312)

parent dfb5d272
Branches
Tags
No related merge requests found
......@@ -995,6 +995,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
---------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment