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-89653: Add assertions on PyUnicode_READ() index #92883

Merged
merged 1 commit into from
May 17, 2022
Merged

gh-89653: Add assertions on PyUnicode_READ() index #92883

merged 1 commit into from
May 17, 2022

Conversation

vstinner
Copy link
Member

Add assertions on the index argument of PyUnicode_READ(),
PyUnicode_READ_CHAR() and PyUnicode_WRITE() functions.

Add assertions on the index argument of PyUnicode_READ(),
PyUnicode_READ_CHAR() and PyUnicode_WRITE() functions.
@vstinner vstinner merged commit 1305832 into python:main May 17, 2022
@vstinner vstinner deleted the add_unicode_assert branch May 17, 2022 17:43
@vstinner
Copy link
Member Author

cc @erlend-aasland FYI. I don't want to backport these changes, it's too late to make Python 3.11 stricter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants