Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26998
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <malaclypse2@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '+++': 0.03; 'output': 0.04; 'received:209.85.160.174': 0.07; 'subject:file': 0.07; 'python': 0.09; 'ide': 0.09; 'unexpected': 0.09; 'aug': 0.13; 'jerry': 0.16; 'reliably': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'subject:) ': 0.20; 'os,': 0.22; 'produces': 0.22; 'example': 0.23; 'command': 0.24; 'header:In-Reply-To:1': 0.25; '---': 0.26; 'am,': 0.27; 'executing': 0.27; 'message-id:@mail.gmail.com': 0.27; 'this?': 0.28; 'run': 0.28; '>>>>': 0.29; 'piece': 0.29; 'code': 0.31; 'you?': 0.32; 'environment,': 0.33; 'to:addr:python- list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'self': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'useful': 0.36; 'does': 0.37; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'you.': 0.61; 'behavior': 0.64; 'gave': 0.65; 'subject:....': 0.65 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=m0D3ll5qJQABSrIzwkv+79scsy5AWAyZAJfWxJiLxcw=; b=SQwpwMq/ekoHU1qu3+lbpjM0b7DvTPG78P3OiHOQCzCvkNX0h7c3tg+qqKfziyNngi ASGM3gTjM2GAX2k0Ncop7JRkSRh/kW9aFKcvoPqXPNBkIWjYJKvL/pDo0kWFfyk9C+xN pZFERLHIKcUjEm8ZKmMD+5bmPmUP+VPsT/EZsiDmcYyUvak/YdNqJT789F0n0MiwKHxg 9nQRfHWQrnHH9FMCj8HVfVJ7KcXS80me8A5CSJ/ZF9hnwDeuaAzQhEJ1AM00gaYvVyQ1 lYn2/7BH5Nl++0A0EtJ6UbQcERsvKo+MEMoDE3sxSD5+3F1CjO9NmjqnjkMSTmHIdeoG hHvA== |
| MIME-Version | 1.0 |
| In-Reply-To | <50291a41$0$3122$ba620e4c@news.skynet.be> |
| References | <50291a41$0$3122$ba620e4c@news.skynet.be> |
| Date | Mon, 13 Aug 2012 12:49:27 -0400 |
| Subject | Re: print(....,file=sys.stderr) buffered? |
| From | Jerry Hill <malaclypse2@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3234.1344876569.4697.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1344876569 news.xs4all.nl 6947 [2001:888:2000:d::a6]:44641 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26998 |
Show key headers only | 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 | Next — Previous in thread | Find similar | Unroll 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