This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients brian.curtin, techtonik
Date 2009-12-29.10:28:50
SpamBayes Score 6.822107e-08
Marked as misclassified No
Message-id <1262082532.7.0.670083635923.issue7585@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-12-29 10:28:53techtoniksetrecipients: + techtonik, brian.curtin
2009-12-29 10:28:52techtoniksetmessageid: <1262082532.7.0.670083635923.issue7585@psf.upfronthosting.co.za>
2009-12-29 10:28:51techtoniklinkissue7585 messages
2009-12-29 10:28:50techtonikcreate