summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-07-28 20:35:03 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-07-28 20:35:03 (GMT)
commitfe67bd91685f89fbf95ee9727ce03d20dea3e9b8 (patch)
treea05a8cfba86d1994b8e8af49ec5cef9924760008 /Misc
parent8d31f5413ccbd1857bac21887272f06a84cca619 (diff)
downloadcpython-fe67bd91685f89fbf95ee9727ce03d20dea3e9b8.zip
cpython-fe67bd91685f89fbf95ee9727ce03d20dea3e9b8.tar.gz
cpython-fe67bd91685f89fbf95ee9727ce03d20dea3e9b8.tar.bz2
Issue #6561: '\d' regular expression should not match characters of
category [No]; only those of category [Nd]. (Backport of r74237 from py3k.)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 25bbabb..6731fb9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1205,6 +1205,10 @@ C-API
Extension Modules
-----------------
+- Issue #6561: '\d' in a regex now matches only characters with
+ Unicode category 'Nd' (Number, Decimal Digit). Previously it also
+ matched characters with category 'No'.
+
- Issue #1523: Remove deprecated overflow wrapping for struct.pack
with an integer format code ('bBhHiIlLqQ'). Packing an out-of-range
integer now consistently raises struct.error.