Skip to content

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