[Patches] [ python-Patches-1018386 ] fix for several sre escaping bugs (fixes #776311)

SourceForge.net noreply at sourceforge.net
Thu Sep 2 23:51:39 CEST 2004


Patches item #1018386, was opened at 2004-08-29 00:19
Message generated for change (Comment added) made by niemeyer
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1018386&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Coleman (mkc)
Assigned to: Gustavo Niemeyer (niemeyer)
Summary: fix for several sre escaping bugs (fixes #776311)

Initial Comment:
This patch fixes a number of escaping bugs in sre (the
re module).  The most serious is an infinite loop in
the parser, which is what the submitter of bug #776311
was seeing.  Another allows octal escapes to have an
arbitrary number of digits--the doc didn't quite
exclude this, but it's clearly the wrong thing (cf.
string literals).  There are others--see the test cases.

----------------------------------------------------------------------

>Comment By: Gustavo Niemeyer (niemeyer)
Date: 2004-09-02 21:51

Message:
Logged In: YES 
user_id=7887

Of course! I'll be reviewing it offline and get back shortly. 
 
Thanks for assigning it to me! 

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2004-08-29 16:01

Message:
Logged In: YES 
user_id=21627

Gustavo, can you take a look? If not, please unassign.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1018386&group_id=5470


More information about the Patches mailing list