We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a346b0 commit f2a9bfeCopy full SHA for f2a9bfe
Doc/whatsnew/3.11.rst
@@ -995,6 +995,19 @@ sysconfig
995
(Contributed by Miro Hrončok in :issue:`45413`.)
996
997
998
+.. _whatsnew311-tempfile:
999
+
1000
+tempfile
1001
+--------
1002
1003
+* :class:`~tempfile.SpooledTemporaryFile` objects now fully implements the methods
1004
+ of :class:`io.BufferedIOBase` or :class:`io.TextIOBase`
1005
+ (depending on file mode).
1006
+ This lets them work correctly with APIs that expect file-like objects,
1007
+ such as compression modules.
1008
+ (Contributed by Carey Metcalfe in :gh:`70363`.)
1009
1010
1011
threading
1012
---------
1013
0 commit comments