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

gh-98783: Fix crashes when str subclasses where used in _PyUnicode_Equal #98806

Merged
merged 4 commits into from Oct 30, 2022

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Oct 28, 2022

@sobolevn
Copy link
Member Author

sobolevn commented Oct 28, 2022

Windows failure is unrelated, but I will retrigger anyway.

…e-98783.iG0kMs.rst

Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
@sweeneyde sweeneyde merged commit 76f989d into python:main Oct 30, 2022
15 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Oct 30, 2022

Thanks @sobolevn for the PR, and @sweeneyde for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒🤖

@miss-islington
Copy link
Contributor

miss-islington commented Oct 30, 2022

Sorry @sobolevn and @sweeneyde, I had trouble checking out the 3.11 backport branch.
Please retry by removing and re-adding the "needs backport to 3.11" label.
Alternatively, you can backport using cherry_picker on the command line.
cherry_picker 76f989dc3e668d15b3ec9a90bf6530276530acac 3.11

@miss-islington
Copy link
Contributor

miss-islington commented Oct 30, 2022

Thanks @sobolevn for the PR, and @sweeneyde for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 30, 2022
…code_Equal` (pythonGH-98806)

(cherry picked from commit 76f989d)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-bot
Copy link

bedevere-bot commented Oct 30, 2022

GH-98869 is a backport of this pull request to the 3.11 branch.

@bedevere-bot
Copy link

bedevere-bot commented Oct 30, 2022

GH-98871 is a backport of this pull request to the 3.11 branch.

@sobolevn
Copy link
Member Author

sobolevn commented Oct 30, 2022

Thank you for your help!

sweeneyde added a commit that referenced this pull request Oct 30, 2022
…icode_Equal` (GH-98806) (#98871)

* gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal` (GH-98806)
(cherry picked from commit 76f989d)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
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.

None yet

4 participants