This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrabarnett
Recipients bee13oy, ezio.melotti, mrabarnett, r.david.murray
Date 2015-07-03.17:20:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435944029.2.0.8748220704.issue24555@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-07-03 17:20:29mrabarnettsetrecipients: + mrabarnett, ezio.melotti, r.david.murray, bee13oy
2015-07-03 17:20:29mrabarnettsetmessageid: <1435944029.2.0.8748220704.issue24555@psf.upfronthosting.co.za>
2015-07-03 17:20:29mrabarnettlinkissue24555 messages
2015-07-03 17:20:29mrabarnettcreate