Skip to content

[3.15] gh-85943: Fix BytesWarning in the struct format cache under -bb (GH-153627)#153834

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-190d2ff-3.15
Jul 17, 2026
Merged

[3.15] gh-85943: Fix BytesWarning in the struct format cache under -bb (GH-153627)#153834
serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-190d2ff-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Normalize bytes format strings to str before using them as the cache key,
so that equal str and bytes formats no longer collide and get compared.
(cherry picked from commit 190d2ff)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

…pythonGH-153627)

Normalize bytes format strings to str before using them as the cache key,
so that equal str and bytes formats no longer collide and get compared.
(cherry picked from commit 190d2ff)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants