anatoly techtonik <techto...@gmail.com> added the comment: Filenames may contain spaces too.
--- handle dis Sun Dec 27 16:08:28 2009 --- или вот это пон, дек 27 16:08:28 2009 The last line is space separated filename and date in Russian locale. Patch tool should handle that, but as you may see it is not always possible. That's why difflib modification with \t separator will greatly improve interoperability of difflib patches regardless of timestamp format. Stripping trailing whitespace when there is no timestamp serves the same purpose. We can assume that patch tools are perfect, but I wouldn't write my tool if that was true, so its better to be friendly on difflib side and generate the output that won't require more work than necessary to use it. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7585> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com