[issue7330] PyUnicode_FromFormat segfault when using widths.

Eric Smith report at bugs.python.org
Sun Nov 15 22:35:48 CET 2009


Eric Smith <eric at trueblade.com> added the comment:

It looks like PyUnicode_FromFormatV is computing callcount incorrectly.
It's looking for 'S', 'R', or 'A' immediately following '%', before the
width. It seems to me it should be treating them the same as 's',
although I'll admit to not having looked at it close enough to know
exactly what's going on.

The whole routine could use some attention, I think.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7330>
_______________________________________


More information about the Python-bugs-list mailing list