print(....,file=sys.stderr) buffered?

Jerry Hill malaclypse2 at gmail.com
Mon Aug 13 12:49:27 EDT 2012


On Mon, Aug 13, 2012 at 11:16 AM, Helmut Jarausch <jarausch at skynet.be> wrote:
> Now, when executing this, I always get
>
> +++ before calling foo
> --- after  calling foo
>>>> entering foo ...

Can you give us a piece of code we can run that produces this output
for you?  You gave us an outline in your original post, but it would
be useful to have a self contained example that you can say reliably
produces the unexpected output for you.

Also, what environment, OS, and exact python version is this?  Is the
code being run in an IDE of some sort?  Does the behavior change if
you call your code directly from the command line?

-- 
Jerry



More information about the Python-list mailing list