Message180516
| Author |
serhiy.storchaka |
| Recipients |
brian.curtin, ezio.melotti, mrabarnett, serhiy.storchaka, techmaurice, vstinner |
| Date |
2013年01月24日.08:30:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<201301241030.07548.storchaka@gmail.com> |
| In-reply-to |
<1358999581.3.0.808903557849.issue13169@psf.upfronthosting.co.za> |
| Content |
> (In the latter case, why is it in decimal?)
Because SRE_MAXREPEAT is generated (as all sre_constants.h) from
sre_constants.py (note changes at the end of sre_constants.py).
I agree, that SRE_MAXREPEAT is imposed by the C code limitation and it will be
better to defined it in C. But we can't just import C's define into Python. This
requires more code. |
|