X Tutup
Skip to content

gh-95781: More strict format string checking in PyUnicode_FromFormatV()#95784

Merged
serhiy-storchaka merged 2 commits intopython:mainfrom
serhiy-storchaka:capi-unicode-fromformat-invalid-format
Aug 8, 2022
Merged

gh-95781: More strict format string checking in PyUnicode_FromFormatV()#95784
serhiy-storchaka merged 2 commits intopython:mainfrom
serhiy-storchaka:capi-unicode-fromformat-invalid-format

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Aug 8, 2022

An unrecognized format character in PyUnicode_FromFormat() and
PyUnicode_FromFormatV() now sets a SystemError.
In previous versions it caused all the rest of the format string to be
copied as-is to the result string, and any extra arguments discarded.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-C-API type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup