[issue9669] regexp: zero-width matches in MIN_UNTIL

2013-02-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc8a11c16021 by Serhiy Storchaka in branch '2.7': Issue #9669: Protect re against infinite loops on zero-width matching in http://hg.python.org/cpython/rev/dc8a11c16021 New changeset d40afd489b6a by Serhiy Storchaka in branch '3.2': Issue #9669:

[issue9669] regexp: zero-width matches in MIN_UNTIL

2013-02-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Committed with a test. Thank you, Matthew. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669 ___ ___

[issue9669] regexp: zero-width matches in MIN_UNTIL

2013-02-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669

[issue9669] regexp: zero-width matches in MIN_UNTIL

2013-01-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can you please provide the tests? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669 ___

[issue9669] regexp: zero-width matches in MIN_UNTIL

2013-01-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - needs patch versions: +Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669 ___

[issue9669] regexp: zero-width matches in MIN_UNTIL

2013-01-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- components: +Regular Expressions ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669 ___ ___

[issue9669] regexp: zero-width matches in MIN_UNTIL

2013-01-15 Thread Matthew Barnett
Matthew Barnett added the comment: I've attached my attempt at a patch. -- keywords: +patch Added file: http://bugs.python.org/file28744/issue9669.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669

[issue9669] regexp: zero-width matches in MIN_UNTIL

2013-01-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669 ___ ___

[issue9669] regexp: zero-width matches in MIN_UNTIL

2010-11-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mrabarnett ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669 ___ ___ Python-bugs-list

[issue9669] regexp: zero-width matches in MIN_UNTIL

2010-08-27 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +ezio.melotti, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9669 ___ ___

[issue9669] regexp: zero-width matches in MIN_UNTIL

2010-08-24 Thread Armin Rigo
New submission from Armin Rigo ar...@users.sourceforge.net: The attached example shows a case where the '_sre' module goes into an instantaneous infinite memory leak. The bug (and probably the fix too) is related to empty matches in the MIN_UNTIL operator (+?, *?). It looks very similar to