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 nnja
Recipients gregory.p.smith, nnja, r.david.murray
Date 2014-04-16.15:54:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397663686.19.0.71446048811.issue21253@psf.upfronthosting.co.za>
In-reply-to
Content
When difflib.compare() is used on two moderately large sequences with little or no common elements, a RuntimeError: maximum recursion depth exceeded occurs. 

This error became apparent when testing another bug (see: issue 19217) in the AssertEquals() method of the unit test library.

A sample program to reproduce this issue in 3.4 is attached. To repo in 2.7 remove the list() wrapper from the range call.
History
Date User Action Args
2014-04-16 15:54:46nnjasetrecipients: + nnja, gregory.p.smith, r.david.murray
2014-04-16 15:54:46nnjasetmessageid: <1397663686.19.0.71446048811.issue21253@psf.upfronthosting.co.za>
2014-04-16 15:54:46nnjalinkissue21253 messages
2014-04-16 15:54:45nnjacreate