Message246193
Your regex is a pathological case: it suffers from catastrophic backtracking and can take a long time to finish.
The other problem is that the re module never releases the GIL, so while it's performing the search in the low-level C code, other Python threads don't get a chance to run. |
|
Date |
User |
Action |
Args |
2015-07-03 17:20:29 | mrabarnett | set | recipients:
+ mrabarnett, ezio.melotti, r.david.murray, bee13oy |
2015-07-03 17:20:29 | mrabarnett | set | messageid: <1435944029.2.0.8748220704.issue24555@psf.upfronthosting.co.za> |
2015-07-03 17:20:29 | mrabarnett | link | issue24555 messages |
2015-07-03 17:20:29 | mrabarnett | create | |
|