homepage

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 dato
Recipients dato, jameinel
Date 2009年01月09日.15:38:08
SpamBayes Score 0.017315349
Marked as misclassified No
Message-id <1231515492.91.0.948855864536.issue4898@psf.upfronthosting.co.za>
In-reply-to
Content
Hello.
I recently noticed that Bazaar's unified_diff() was emiting ---/+++ 
lines with a trailing whitespace if fromfiledate/tofiledate were the 
empty string. (Which was bad because a program to detect spurious 
trailing whitespace in diffs would flag them as errors.)
A patch [1] was committed recently in their tree. During the 
discussion, it was pointed out that the affected function was a copy 
of Python's own unified_diff() in difflib, which suffered the same 
problem.
 [1]: http://bazaar.launchpad.net/~bzr/bzr/trunk/revision/3923
I'm now attaching a patch to fix this issue in Python. It'd be great 
if you'd consider applying it. (It seems that the correct character to 
separate dates is a tab and not a space; if you feel changing this is 
breaking backwards compatibility, feel free to s/\t/ / in my patch.)
Thanks.
History
Date User Action Args
2009年01月09日 15:38:13datosetrecipients: + dato, jameinel
2009年01月09日 15:38:12datosetmessageid: <1231515492.91.0.948855864536.issue4898@psf.upfronthosting.co.za>
2009年01月09日 15:38:11datolinkissue4898 messages
2009年01月09日 15:38:10datocreate

AltStyle によって変換されたページ (->オリジナル) /