[issue10829] PyUnicode_FromFormatV() bugs with "%" and "%%" format strings

Ray.Allen report at bugs.python.org
Tue Feb 22 08:24:10 CET 2011

Ray.Allen <ysj.ray at gmail.com> added the comment:

> Well, the main problem is that there are 3 different codes to parse the format string, and each code is different... Attached patch factorizes the code: create one subfunction parse_format_flags(). It fixes also this issue and prepares the work to fix #10831.

Sounds nice! Maybe several related issues can also use this, like #7330.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list