[Python-Dev] Check for signals during regular expression matches (issue846388) (original) (raw)

Ralf Schmitt schmir at gmail.com
Fri Jan 4 16:15:06 CET 2008


Hi all,

Currently the re module does not handle signals. I've been once a victim of such a case in a real world setup (i.e. the python interpreter seems to hang at 100% CPU and is not interuptible with control c)

http://bugs.python.org/issue846388 opened 4 years ago contained a patch for this issue (which ofcourse didn't apply). I've updated that patch and added an example regular expression, which 'hangs' the python interpreter. I think this issue should be handled.

Regards,



More information about the Python-Dev mailing list