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.

Author roccomoretti
Recipients
Date 2004-06-26.02:52:16
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.

History
Date User Action Args
2007-08-23 15:38:20adminlinkissue980120 messages
2007-08-23 15:38:20admincreate