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 [3.13] gh-128083: Fix macro redefinition warning in clinic. (GH-127950) (#128102) 2024-12-19 21:29:14 +00:00
_iomodule.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
_iomodule.h gh-101819: Isolate _io (#101948) 2023-05-15 09:26:27 +00:00
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 gh-117068: Remove useless code in bytesio.c:resize_buffer() (GH-117069) 2024-03-22 11:25:38 +00:00
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 Fix an incorrect comment in iobase_is_closed (GH-102952) 2024-01-16 18:27:17 +02:00
stringio.c [3.13] gh-127182: Fix io.StringIO.__setstate__ crash when None is the first value (GH-127219) (#127262) 2024-11-25 17:56:42 +00:00
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 [3.13] gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (GH-131044) (#131084) 2025-03-11 11:56:54 +00:00