[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r34911 - in trunk/tools: backup bdb client-side dev dev/iz dist examples hook-scripts hook-scripts/mailer/tests po server-side

From: Peter Samuelson <peter_at_p12n.org>
Date: Tue, 23 Dec 2008 21:05:43 -0600

[Arfrever Frehtes Taifersar Arahesis]
> except getopt.GetoptError, e:
> - print >> sys.stderr, "ERROR: %s\n" % e
> + sys.stderr.write("ERROR: %s\n\n" % e)
> + sys.stderr.flush()

I doubt those flush() calls are necessary. In the C stdio library (as
well as python 2.5 and every perl I've ever seen), stderr is always
unbuffered by default.

Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Received on 2008-12-24 04:06:02 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.