[issue12759] "(?P=)" input for Tools/scripts/redemo.py raises unnhandled exception
Masha Katsman
report at bugs.python.org
Thu Nov 24 16:24:06 CET 2011
Masha Katsman <mkatsman at yahoo.com> added the comment:
Updating the patch with the test. The test checks that the re exception is thrown in case of the (?P=) and (?P<>) expressions.
It used to raise an Index exception. My only question is, the exception we raise now says, there invalid characters in the group name, whether in our case the group name is just empty.
----------
Added file: http://bugs.python.org/file23769/patch_for_12759
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12759>
_______________________________________
More information about the Python-bugs-list
mailing list