diff options
author | Carey Metcalfe <carey@cmetcalfe.ca> | 2022-05-03 12:18:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 12:18:18 (GMT) |
commit | 78e70be3318bc2ca57dac188061ed35017a0867c (patch) | |
tree | 25e43cb96acdf6eea461548410087dab85b6ebb2 /Misc/ACKS | |
parent | 52dc9c3066bcdc67a7a45d41cf158ecb1434d5f3 (diff) | |
download | cpython-78e70be3318bc2ca57dac188061ed35017a0867c.zip cpython-78e70be3318bc2ca57dac188061ed35017a0867c.tar.gz cpython-78e70be3318bc2ca57dac188061ed35017a0867c.tar.bz2 |
gh-70363: Implement `io.IOBase` interface for `SpooledTemporaryFile` (GH-29560)
Since the underlying file-like objects (either `io.BytesIO`,
or a true file object) all implement the `io.IOBase`
interface, the `SpooledTemporaryFile` should as well.
Additionally, since the underlying file object will either be an
instance of an `io.BufferedIOBase` (for binary mode) or an
`io.TextIOBase` (for text mode), methods for these classes were also
implemented.
In every case, the required methods and properties are simply delegated
to the underlying file object.
Co-authored-by: Gary Fernie <Gary.Fernie@skyscanner.net>
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Diffstat (limited to 'Misc/ACKS')
-rw-r--r-- | Misc/ACKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1172,6 +1172,7 @@ Dimitri Merejkowsky Brian Merrell Bruce Merry Alexis Métaireau +Carey Metcalfe Luke Mewburn Carl Meyer Kyle Meyer |