[issue40026] Create render_*_diff variants to the *_diff functions in difflib

2020-03-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue40026] Create render_*_diff variants to the *_diff functions in difflib

2020-03-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue40026] Create render_*_diff variants to the *_diff functions in difflib

2020-03-20 Thread Daniel
New submission from Daniel : Currently difflib offers no way to synthesize a diff output without having to assemble the original and modified strings and then asking difflib to calculate the diff. It would be nice if I could just call a `render_unified_diff(a, b, grouped_opcodes)` and get a