mirror of https://github.com/python/cpython.git
gh-95913: Add io support for SpooledTemporaryFile in 3.11 Whatsnew (GH-98312)
(cherry picked from commit f3f8b6fca5
)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
parent
3aed2ac002
commit
c4ad3fce66
|
@ -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
|
||||
---------
|
||||
|
||||
|
|
Loading…
Reference in New Issue