cpython/Modules/_io/clinic
Victor Stinner c84029179c
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>
2023-05-06 01:53:55 +02:00
..
_iomodule.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
bufferedio.c.h gh-101819: Adapt _io types to heap types, batch 1 (GH-101949) 2023-02-20 05:46:20 -08:00
bytesio.c.h gh-101819: Prepare to modernize the _io extension (#104178) 2023-05-06 01:53:55 +02:00
fileio.c.h gh-101819: Prepare to modernize the _io extension (#104178) 2023-05-06 01:53:55 +02:00
iobase.c.h gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code (gh-95860) 2022-08-11 15:25:49 -06:00
stringio.c.h gh-90928: Improve static initialization of keywords tuple in AC (#95907) 2022-08-13 12:09:40 +02:00
textio.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
winconsoleio.c.h gh-102255: Improve build support for Windows API partitions (GH-102256) 2023-03-09 21:09:12 +00:00