Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26998

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

References <50291a41$0$3122$ba620e4c@news.skynet.be>
Date 2012-08-13 12:49 -0400
Subject Re: print(....,file=sys.stderr) buffered?
From Jerry Hill <malaclypse2@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3234.1344876569.4697.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Aug 13, 2012 at 11:16 AM, Helmut Jarausch <jarausch@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

print(....,file=sys.stderr) buffered? Helmut Jarausch <jarausch@skynet.be> - 2012-08-13 15:16 +0000
  Re: print(....,file=sys.stderr) buffered? Grant Edwards <invalid@invalid.invalid> - 2012-08-13 15:43 +0000
    Re: print(....,file=sys.stderr) buffered? Helmut Jarausch <jarausch@skynet.be> - 2012-08-13 16:29 +0000
      Re: print(....,file=sys.stderr) buffered? Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2012-08-14 11:06 +0200
  Re: print(....,file=sys.stderr) buffered? Jerry Hill <malaclypse2@gmail.com> - 2012-08-13 12:49 -0400

csiph-web