[Python-bugs-list] [Bug #126587] sre matchobject,groupdict() seems to memory leak
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 22 Dec 2000 06:39:46 -0800
Bug #126587, was updated on 2000-Dec-21 04:21
Here is a current snapshot of the bug.
Project: Python
Category: Regular Expressions
Status: Closed
Resolution: Fixed
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : effbot
Summary: sre matchobject,groupdict() seems to memory leak
Details: """
This script grinds Windows NT to a halt because of excessive memory usage. The problem disappears if pre is used instead of sre.
"""
import re
r=re.compile(r"(?P<alpha>...)")
while 1:
mo=r.match("blabla")
mo.groupdict()
Follow-Ups:
Date: 2000-Dec-22 06:39
By: akuchling
Comment:
Fixed in CVS revision 2.47 of _sre.c. Thanks for reporting this bug!
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=126587&group_id=5470