Some basic questions

Martin v. Löwis martin at v.loewis.de
Wed Mar 26 16:35:49 EST 2003


Irmen de Jong <irmen at -NOSPAM-REMOVE-THIS-xs4all.nl> writes:

> Well, and so you learn something new every day!
> Great,  didn't know this. I allways assume the worst
> with these kind of things. Python proves smarter than me :-)
> 
> How big is this cache, then?

It is sre._MAXCACHE (100) regular expressions big; if it is full, all
entries are discarded, and the cache gets filled from scratch (see
sre._compile).

Regards,
Martin




More information about the Python-list mailing list