[New-bugs-announce] [issue8702] difflib: unified_diff produces wrong patches (again)

anatoly techtonik report at bugs.python.org
Thu May 13 10:05:26 CEST 2010

New submission from anatoly techtonik <techtonik at gmail.com>:

If source/target file for unified format diff context doesn't end with new line, the diff should contain this marker:

\ No newline at end of file

Or else there is information loss when such patch is applied.


components: Library (Lib)
messages: 105630
nosy: techtonik
priority: normal
severity: normal
status: open
title: difflib: unified_diff produces wrong patches (again)
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list