[issue25817] modsupport: 'countformat' does not handle strings without bracket levels correctly

Myron Walker report at bugs.python.org
Mon Dec 7 19:03:12 EST 2015


Myron Walker added the comment:

Yes, there are some other cases that look odd to me as if the code is not up to date though.  I was looking at the documentation and it mentions format character combinations like 'es' which contain two characters sequences.  When I look at this function, it does not handle two character sequences so the count in some cases may not be correct.  Im not familiar with the code enough to know how critical the count might be.

----------

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


More information about the Python-bugs-list mailing list