[issue25817] modsupport: 'countformat' does not handle strings without bracket levels correctly
Myron Walker
report at bugs.python.org
Mon Dec 7 18:05:47 EST 2015
Myron Walker added the comment:
There is not reproducer for this currently.
Its a case of implied or shared usage between a function and the code that uses it. This function is only used in the Python core, so unless
it is used incorrectly, by a python extension or modification, it may never hit the error condition.
The case where this will fail is if for some reason it is called with
a 'endchar' other than '\0'. The function assumes end char will be '\0', ')', ']', and ']'.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25817>
_______________________________________
More information about the Python-bugs-list
mailing list