diff options
| author | Victor Stinner <vstinner@python.org> | 2023-05-05 23:53:55 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-05 23:53:55 (GMT) |
| commit | c84029179c3287f9c357ccac231fe78469c6f068 (patch) | |
| tree | 4b30494f97bc9d71bb6381753e96441cbefc9dce /Lib/test/pydocfodder.py | |
| parent | 8b7f37dd4c297138e9f4a256ff6750cf1402b421 (diff) | |
| download | cpython-c84029179c3287f9c357ccac231fe78469c6f068.zip cpython-c84029179c3287f9c357ccac231fe78469c6f068.tar.gz cpython-c84029179c3287f9c357ccac231fe78469c6f068.tar.bz2 | |
gh-101819: Prepare to modernize the _io extension (#104178)
* Add references to static types to _PyIO_State:
* PyBufferedIOBase_Type
* PyBytesIOBuffer_Type
* PyIncrementalNewlineDecoder_Type
* PyRawIOBase_Type
* PyTextIOBase_Type
* Add the defining class to methods:
* _io.BytesIO.getbuffer()
* _io.FileIO.close()
* Add get_io_state_by_cls() function.
* Add state parameter to _textiowrapper_decode()
* _io_TextIOWrapper___init__() now sets self->state before calling
_textiowrapper_set_decoder().
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Lib/test/pydocfodder.py')
0 files changed, 0 insertions, 0 deletions
