Skip to content

Conversation

@mdickinson
Copy link
Member

@mdickinson mdickinson commented Nov 26, 2023

Revert commit c8c0afc (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 commit 9fe6034)

…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 <[email protected]>
@mdickinson mdickinson merged commit 42df736 into python:3.12 Nov 27, 2023
@mdickinson mdickinson deleted the backport-9fe6034-3.12 branch November 27, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant