This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: difflib exceeding recursion limit
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: niemeyer Nosy List: niemeyer
Priority: normal Keywords: patch

Created on 2006-01-24 13:50 by niemeyer, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
difflib.patch niemeyer, 2006-01-24 13:50 Patch
test.tar.bz2 niemeyer, 2006-01-24 13:53 Test case
Messages (3)
msg49407 - (view) Author: Gustavo Niemeyer (niemeyer) * (Python committer) Date: 2006-01-24 13:50
difflib is exceeding the default recursion limit in
certain patterns of lines.

The attached patch will change the problematic method
into a non-recursive version.
msg49408 - (view) Author: Gustavo Niemeyer (niemeyer) * (Python committer) Date: 2006-01-24 13:53
Logged In: YES 
user_id=7887

Attaching a test case showing the problem.
msg49409 - (view) Author: Gustavo Niemeyer (niemeyer) * (Python committer) Date: 2006-01-31 18:35
Logged In: YES 
user_id=7887

Patch applied as revision 42212.
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42832
2006-01-24 13:50:10niemeyercreate