Skip to content

[3.13] gh-145743: Fix inconsistency after calling Struct.__init__() with invalid format (GH-145744)#145764

Merged
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-3f33bf8-3.13
Mar 10, 2026
Merged

[3.13] gh-145743: Fix inconsistency after calling Struct.__init__() with invalid format (GH-145744)#145764
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-3f33bf8-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 10, 2026

Only set the format attribute after successful (re-)initialization.
(cherry picked from commit 3f33bf8)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…th invalid format (pythonGH-145744)

Only set the format attribute after successful (re-)initialization.
(cherry picked from commit 3f33bf8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) March 10, 2026 16:30
@serhiy-storchaka serhiy-storchaka merged commit b5082d8 into python:3.13 Mar 10, 2026
42 checks passed
@miss-islington miss-islington deleted the backport-3f33bf8-3.13 branch March 10, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants