Problems with telnetlib

Bengt Richter bokr at
Sun Feb 17 19:43:20 EST 2002

On Sun, 17 Feb 2002 17:26:51 -0500, Tim Peters < at> wrote:

>[Bengt Richter]
>> ...
>> BTW, why are context diffs preferred over unified?
>Because Guido says so.  Really, that's all there is to it.  In general, he
>doesn't care so much about what the code used to do as about what it does
>after the change, and especially for complex patches the "after" logic is
>simply easier to follow if it isn't cluttered via interleaving with the
>"before" logic.  OTOH, the opposite seems true more often to me when looking
>at simple patches.  Someone should write a tool to generate both patch
>flavors, compare them, and objectively determine which is clearer.  Indeed,
>I demand someone do this at once <wink>.
Seems like the cvsviewer could be expanded to view effects of proposed patches
tentatively in various modes? Even regurgitating the diff in the alternate format
by re-diffing with a patched temp file. Seems like all the pieces are there, except
something new in a config file to define access to proposed patch files and temp caching,
and some glue. Of course, that's easy for me to say, not having seen any of that code ;-)

Otherwise maybe a standalong unified diff GUI viewer with buttons to see
old, new, or both?

Bengt Richter

More information about the Python-list mailing list