mirror of
https://github.com/python/cpython.git
synced 2026-05-10 14:41:01 -04:00
42df73652d
* [3.12] gh-112358: Fix Python 3.12 regression with subclassing struct.Struct. (GH-112424) Revert commitc8c0afc713(PR GH-94532), which moved `struct.Struct` initialisation from `Struct.__init__` to `Struct.__new__`. This caused issues with code in the wild that subclasses `struct.Struct`.. (cherry picked from commit9fe60340d7) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> * Remove unrelated test