Message180521
| Author |
serhiy.storchaka |
| Recipients |
brian.curtin, ezio.melotti, mrabarnett, serhiy.storchaka, techmaurice, vstinner |
| Date |
2013年01月24日.13:44:23 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1359035063.9.0.15151843105.issue13169@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|