Mark Dickinson added the comment:

> So size_t should be used instead ("s - s1" is unsigned, s >= s1).

That was one of my original thoughts, but the size_t would then creep into all 
the exponent calculations, requiring fairly substantial changes throughout the 
code.  That's not something I'd want to consider on the maintenance branches, 
at least.  I think just limiting the size of the input string is a simpler 
option.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19638>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to