Snidhi Sofpro <snidhi.sof...@gmail.com> added the comment:
Hello Tim Peters, Like you pointed out: (1) The test code clearly has a mistake. (2) With the mistake corrected, difflib.SequenceMatcher.get_matching_blocks() returns results as expected for the given test data. I'm unable to readily recreate the issue where it was first observed because the application code from which the test code was derived has meanwhile gotten changed to make use of get_opcodes(). Will update this ticket if I find this to be an issue at all. Thank you for looking into this so quickly & for the feedback. Contributors like you make working in the python ecosystem a professional pleasure. Thanks again. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41964> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com