Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] gh-93575: Use correct way to calculate PyUnicode struct sizes (GH-93602) #93613

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

tiran
Copy link
Member

@tiran tiran commented Jun 8, 2022

Co-authored-by: Christian Heimes christian@python.org

…sizes (pythonGH-93602)

* pythongh-93575: Use correct way to calculate PyUnicode struct sizes

* Add comment to keep test_sys and test_unicode in sync

* Fix case code < 256.
(cherry picked from commit 5442561)

Co-authored-by: Christian Heimes <christian@python.org>
@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting core review labels Jun 8, 2022
@tiran tiran merged commit 47a7855 into python:3.11 Jun 8, 2022
@tiran tiran deleted the backport-5442561-3.11 branch June 8, 2022 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants