[prev in list] [next in list] [prev in thread] [next in thread]
List: python-patches
Subject: [Patches] [ python-Patches-980120 ] difflib empty list IndexError
From: noreply () sourceforge ! net (SourceForge ! net)
Date: 2004-06-25 22:52:24
Message-ID: E1Be3Ie-0003c6-00 () sc8-sf-web1 ! sourceforge ! net
[Download RAW message or body]
Patches item #980120, was opened at 2004-06-25 22:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=980120&group_id=5470
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rocco Moretti (roccomoretti)
Assigned to: Nobody/Anonymous (nobody)
Summary: difflib empty list IndexError fix (Bug #980117)
Initial Comment:
This is a potential fix for the Bug #980117.
The functions unified_diff() and context_diff() give an
IndexError when called with two empty lists due to an
unmasked index of the opcode lists in
SequenceMatcher.get_grouped_opcodes(). In the case of
two empty lists passed to the functions,
SequenceMatcher.codes is an empty list.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=980120&group_id=5470
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic