STINNER Victor <victor.stin...@haypocalc.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.
---------- Added file: http://bugs.python.org/file20828/parse_format_flags.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10829> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com