New submission from Simon Friedberger <simon.nov2...@a-oben.org>:
It seems there is no easy way to use difflib to show a diff but only when there actually are differences. The SequenceMatcher has ratio() but that isn't really available through Differ or any of the convenience functions. Vice versa, when using SequenceMatcher the pretty display is not available. ---------- components: Library (Lib) messages: 356536 nosy: simon_ priority: normal severity: normal status: open title: difflib lacks a way to check if results are empty versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38789> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com