[3.12] gh-112358: Fix Python 3.12 regression with subclassing struct.Struct (GH-112424) by mdickinson · Pull Request #112426 · python/cpython
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.3k
Merged
mdickinson merged 2 commits intopython:3.12from
Nov 27, 2023Merged
Conversation
…truct.Struct. (pythonGH-112424) Revert commit c8c0afc (PR pythonGH-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 commit 9fe6034) Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
bedevere-app
bot
added
the
awaiting core review
label
This was referenced
Nov 26, 2023
mdickinson
merged commit
42df736
into
python:3.12
bedevere-app
bot
removed
the
awaiting core review
label
mdickinson
deleted the
backport-9fe6034-3.12
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment