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

Hi, haypo, would you mind modify your newly added parse_format_flags() function 
so that it can diff the precision value of '%.0s' and '%s'(Currently both of 
them return precision as 0)? Because if used with string formatters(%s, %R, %S, 
%A, ...), they should be very different. And so I can work on issue7330 with it.

Just return precision as -1 to indicate no precision is designated could work.

----------

_______________________________________
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

Reply via email to