gh-89653: Add assertions on PyUnicode_READ() index by vstinner · Pull Request #92883 · python/cpython
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.4k
Merged
gh-89653: Add assertions on PyUnicode_READ() index#92883
vstinner merged 1 commit intopython:mainfrom
vstinner:add_unicode_assert
gh-89653: Add assertions on PyUnicode_READ() index#92883
vstinner merged 1 commit intopython:mainfrom
vstinner:add_unicode_assert
Conversation
Copy link Copy Markdown
Member
vstinner
commented
May 17, 2022
vstinner
commented
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
added
the
skip news
label
bedevere-bot
added
the
awaiting core review
label
vstinner
merged commit
1305832
into
python:main
bedevere-bot
removed
the
awaiting core review
label
vstinner
deleted the
add_unicode_assert
branch
Copy link Copy Markdown
Member Author
vstinner
commented
May 17, 2022
vstinner commented
May 17, 2022cc @erlend-aasland FYI. I don't want to backport these changes, it's too late to make Python 3.11 stricter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment