aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2025-05-04 17:06:49 +0300
committerGitHub <noreply@github.com>2025-05-04 14:06:49 +0000
commite9253ebf74433de5ae6d7f1bce693a3a1173b3b1 (patch)
treec5af2a1d40830d263122aefdded4ea2b48cc4683 /Python/formatter_unicode.c
parenta247dd300ea0c839154e2e38dbc0fdc9fdff673f (diff)
downloadcpython-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/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions