Skip to content

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

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

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy