X Tutup
The Wayback Machine - https://web.archive.org/web/20260404125645/https://github.com/python/cpython/pull/92883
Skip to content

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

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:add_unicode_assert
May 17, 2022
Merged

gh-89653: Add assertions on PyUnicode_READ() index#92883
vstinner merged 1 commit intopython:mainfrom
vstinner:add_unicode_assert

Conversation

@vstinner
Copy link
Copy Markdown
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
Copy Markdown
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

X Tutup