mirror of
https://github.com/python/cpython.git
synced 2026-05-07 21:20:55 -04:00
e9253ebf74
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.