summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-11-03 19:35:43 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-11-03 19:35:43 (GMT)
commit7533587d4363d0841232f58d61adc15fa32b4825 (patch)
treef41119a2152cccf1475f700bb103cefcd5c1a550 /Misc/NEWS
parentc034b47ef39cf757d241888e93df11876ee53f48 (diff)
downloadcpython-7533587d4363d0841232f58d61adc15fa32b4825.zip
cpython-7533587d4363d0841232f58d61adc15fa32b4825.tar.gz
cpython-7533587d4363d0841232f58d61adc15fa32b4825.tar.bz2
Improved error msg when a symbolic group name is redefined. Added docs
and NEWS. Bugfix candidate? That's a dilemma for Anthony <wink>: /F did fix a longstanding bug here, but the fix can cause code to raise an exception that previously worked by accident.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ba2f679..02c4928 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -46,6 +46,12 @@ Extension modules
Library
+- Symbolic group names in regular expressions must be unique. For
+ example, the regexp r'(?P<abc>)(?P<abc>)' is not allowed, because a
+ single name can't mean both "group 1" and "group 2" simultaneously.
+ Python 2.2 detects this error at regexp compilation time; previously,
+ the error went undetected, and results were unpredictable.
+
- Tix exposes more commands through the classes DirSelectBox,
DirSelectDialog, ListNoteBook, Meter, CheckList, and the
methods tix_addbitmapdir, tix_cget, tix_configure, tix_filedialog,