New submission from anatoly techtonik <techto...@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. http://en.wikipedia.org/wiki/Diff#Unified_format ---------- 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 <rep...@bugs.python.org> <http://bugs.python.org/issue8702> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com