commit | 4473d225a8b0d4977bde569892a3c76640fb123a | [log] [tgz] |
---|---|---|
author | Facundo Batista <facundobatista@gmail.com> | Tue Jan 08 21:10:12 2008 +0000 |
committer | Facundo Batista <facundobatista@gmail.com> | Tue Jan 08 21:10:12 2008 +0000 |
tree | e147845a886b8b00121bb5e76cbfbb9c174b2700 | |
parent | 8d10167236c2247bab706780262fbbef38de0099 [diff] |
Issue 846388. Adds a call to PyErr_CheckSignals to SRE_MATCH so that signal handlers can be invoked during long regular expression matches. It also adds a new error return value indicating that an exception occurred in a signal handler during the match, allowing exceptions in the signal handler to propagate up to the main loop. Thanks Josh Hoyt and Ralf Schmitt.