Skip to content

gh-92536: Compute unicode struct sizes to ensure MemError is raised #92867

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
May 17, 2022

Conversation

sweeneyde
Copy link
Member

I believe this is the cause of recent failing x86 Gentoo buildbots.

@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting core review labels May 17, 2022
@sweeneyde sweeneyde requested a review from methane May 17, 2022 04:09
@sweeneyde sweeneyde added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 17, 2022
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @sweeneyde for commit 111ece3 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 17, 2022
@sweeneyde
Copy link
Member Author

Gentoo bots are green for the first time in a little while.

@sweeneyde sweeneyde merged commit 19a4252 into python:main May 17, 2022
@sweeneyde sweeneyde deleted the unicode_memerror branch May 17, 2022 14:12
@ambv
Copy link
Contributor

ambv commented May 17, 2022

Could this be backported to 3.11 and 3.10?

@sweeneyde
Copy link
Member Author

Sure, it could, but it's not changing anything there other than clarity. The main reason it matters is that Unicode struct size changed in 3.12 due to PEP 623.

@ambv
Copy link
Contributor

ambv commented May 17, 2022

OK, nevermind then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants