summaryrefslogtreecommitdiffstats
path: root/Python/crossinterp_exceptions.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2025-05-04 14:06:49 (GMT)
committerGitHub <noreply@github.com>2025-05-04 14:06:49 (GMT)
commite9253ebf74433de5ae6d7f1bce693a3a1173b3b1 (patch)
treec5af2a1d40830d263122aefdded4ea2b48cc4683 /Python/crossinterp_exceptions.h
parenta247dd300ea0c839154e2e38dbc0fdc9fdff673f (diff)
downloadcpython-e9253ebf74433de5ae6d7f1bce693a3a1173b3b1.zip
cpython-e9253ebf74433de5ae6d7f1bce693a3a1173b3b1.tar.gz
cpython-e9253ebf74433de5ae6d7f1bce693a3a1173b3b1.tar.bz2
gh-122559: Synchronize C and Python implementation of the io module about pickling (GH-122628)
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.
Diffstat (limited to 'Python/crossinterp_exceptions.h')
0 files changed, 0 insertions, 0 deletions