◐ Shell
clean mode source ↗

gh-95781: More strict format string checking in PyUnicode_FromFormatV() by serhiy-storchaka · Pull Request #95784 · python/cpython

…ormatV()

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.

philg314

@serhiy-storchaka

iritkatriel pushed a commit to iritkatriel/cpython that referenced this pull request

Aug 11, 2022
…ormatV() (pythonGH-95784)

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.