cpython/Modules/_io
Serhiy Storchaka 973e2d3e29
[3.13] gh-122559: Synchronize C and Python implementation of the io module about pickling (GH-122628) (GH-133381)
In the C implementation, remove __reduce__ and __reduce_ex__ methods
that always raise TypeError and restore __getstate__ methods that always
raise TypeErrori.

This restores fine details of the pre-3.12 behavior and unifies
both implementations.
(cherry picked from commit e9253ebf74)
2025-05-04 16:04:09 +00:00
..
clinic
_iomodule.c
_iomodule.h
bufferedio.c [3.13] gh-122559: Synchronize C and Python implementation of the io module about pickling (GH-122628) (GH-133381) 2025-05-04 16:04:09 +00:00
bytesio.c
fileio.c [3.13] gh-122559: Synchronize C and Python implementation of the io module about pickling (GH-122628) (GH-133381) 2025-05-04 16:04:09 +00:00
iobase.c
stringio.c
textio.c [3.13] gh-122559: Synchronize C and Python implementation of the io module about pickling (GH-122628) (GH-133381) 2025-05-04 16:04:09 +00:00
winconsoleio.c