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 tim.peters
Recipients rhettinger, simon_, tim.peters
Date 2019-11-19.03:33:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574134401.93.0.721210869928.issue38789@roundup.psfhosted.org>
In-reply-to
Content
I'm taking Raymond's advice to close this for now.  The issue tracker isn't the right place to work out ideas - python-ideas is far better for that (StackOverflow isn't a good place for that either - StackOverflow is best for when you have a very specific use case and get stuck).

While the issues with generators are common to all generators, in the context of difflib something else Raymond said should be taken to heart:  using any difflib facility is an extremely expensive way to find out that two things are equal.  That's a value of use cases!  That is, if you had asked about this on StackOverflow and asked for help instead of proposing "a (vague) solution", they would have told you at once to check whether `a == b` before dragging difflib into it.

Indeed, that's probably why what you're asking about never came up before.  People generally use difflib only when they know in advance (via a cheap equality test) that there _are_ differences to be found.

In any case, if a "specific & actionable" suggestion comes out of pursuing this, feel encouraged to open this report again!
History
Date User Action Args
2019-11-19 03:33:22tim.peterssetrecipients: + tim.peters, rhettinger, simon_
2019-11-19 03:33:21tim.peterssetmessageid: <1574134401.93.0.721210869928.issue38789@roundup.psfhosted.org>
2019-11-19 03:33:21tim.peterslinkissue38789 messages
2019-11-19 03:33:21tim.peterscreate