summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2008-01-08 21:10:12 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2008-01-08 21:10:12 (GMT)
commit4473d225a8b0d4977bde569892a3c76640fb123a (patch)
treee147845a886b8b00121bb5e76cbfbb9c174b2700 /Misc
parent8d10167236c2247bab706780262fbbef38de0099 (diff)
downloadcpython-4473d225a8b0d4977bde569892a3c76640fb123a.zip
cpython-4473d225a8b0d4977bde569892a3c76640fb123a.tar.gz
cpython-4473d225a8b0d4977bde569892a3c76640fb123a.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c77ce62..dc1817f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -348,6 +348,9 @@ Core and builtins
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.