Serhiy Storchaka added the comment:

Patch updated for addressing Ezio's and Matthew's comments. MAXREPEAT now 
defined in the C code. It lowered to 2G on 32-bit platform to fit repetition 
numbers into Py_ssize_t. The condition for raising of an exception now more 
complex: if the repetition number overflows Py_ssize_t it means the same as an 
infinity bound and in this case an exception is not raised (i.e. it never 
raised on 32-bit platform). Tests added.

----------

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

Reply via email to