[MERGE][#151844] Unicode-safe output from ``bzr info``

Martin Pool mbp at sourcefrog.net
Tue Oct 16 02:46:15 BST 2007


On 10/16/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
> John Arbash Meinel has voted tweak.
> Status is now: Conditionally approved
> Comment:
> I've always felt like "print >> outfile, 'string'" was worse than
> "outfile.write('string\n')".
>
> I won't strictly make you fix it, but I'll wait to merge until we
> discuss that a bit.

I tend to use write in new code, and I believe that in Python 3000
print is changing away from being a statement with special syntax.  It
might be good to change that now, and maybe someone would also like to
do a semi-mechanical patch to update all existing uses.

-- 
Martin



More information about the bazaar mailing list