[Zope] Re: Unfair Linux Threads And Python Oh My

Marcus Collins mcollins@sunesi.com
Fri, 28 Apr 2000 09:34:41 +0200


> -----Original Message-----
> From: Bill Anderson [mailto:bill@libc.org]
> Sent: 27 April 2000 00:50
> To: 'zope@zope.org'
> Subject: Re: [Zope] Re: Unfair Linux Threads And Python Oh My
> 
> Marcus Collins wrote:

<snip>

> > Some observations:
> > 
> > If I replace the call to sys.stderr.write with a simple 
> print, then I get a
> > single asterisk. Is sys.stderr.write() perhaps buffered?
> 
> Call it with "python -u" and it is unbuffered:
> """-u     : unbuffered binary stdout and stderr (also
> PYTHONUNBUFFERED=x)"""

Unbuffered output results in a single child and a single asterisk.

Thanks to Bill and Daryl for the info -- I'll read the fine manual next time
:-)

-- Marcus