• Tim Peters's avatar
    Possible fix for Skip's bug 116136 (sre recursion limit hit in tokenize.py). · de49583a
    Tim Peters yazdı
    tokenize.py has always used naive regexps for matching string literals,
    and that appears to trigger the sre recursion limit on Skip's platform (he
    has very long single-line string literals).  Replaced all of tokenize.py's
    string regexps with the "unrolled" forms used in IDLE, where they're known to
    handle even absurd (multi-megabyte!) string literals without trouble.  See
    Friedl's book for explanation (at heart, the naive regexps create a backtracking
    choice point for each character in the literal, while the unrolled forms create
    none).
    de49583a
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...