diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2025-05-04 17:06:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-04 14:06:49 +0000 |
commit | e9253ebf74433de5ae6d7f1bce693a3a1173b3b1 (patch) | |
tree | c5af2a1d40830d263122aefdded4ea2b48cc4683 /Python/pymath.c | |
parent | a247dd300ea0c839154e2e38dbc0fdc9fdff673f (diff) | |
download | cpython-e9253ebf74433de5ae6d7f1bce693a3a1173b3b1.tar.gz cpython-e9253ebf74433de5ae6d7f1bce693a3a1173b3b1.zip |
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/pymath.c')
0 files changed, 0 insertions, 0 deletions