Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb5d27 commit f3f8b6fCopy full SHA for f3f8b6f
1 file changed
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