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 simon_
Recipients simon_, tim.peters
Date 2019-11-18.08:30:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574065812.26.0.0880692419076.issue38789@roundup.psfhosted.org>
In-reply-to
Content
Hi Tim!

Sorry, if my explanation wasn't clear.

For some of the iterators - like the one produced by ndiff - the iterator will always return data, even if there is no difference in the files.

My current solution is to run difflib.unified_diff and check if the iterator is non-empty and then run difflib.ndiff again to get the output that I want.
History
Date User Action Args
2019-11-18 08:30:12simon_setrecipients: + simon_, tim.peters
2019-11-18 08:30:12simon_setmessageid: <1574065812.26.0.0880692419076.issue38789@roundup.psfhosted.org>
2019-11-18 08:30:12simon_linkissue38789 messages
2019-11-18 08:30:12simon_create