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.
diff --git a/Misc/NEWS b/Misc/NEWS
index c77ce62..dc1817f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -348,6 +348,9 @@
Library
-------
+- Issue #846388. re.match is interruptible now, which is particularly
+ good for long regular expression matches.
+
- pyexpat, patch #1137: allow setting buffer_size attribute
on Parser objects to set the character data buffer size.