Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29895
| References | <0be9b4c2-b661-4709-ba8f-40a6f78ad634@googlegroups.com> <mailman.1030.1348257285.27098.python-list@python.org> <593f9c45-9150-4d37-9c9c-e3cd66ed2d8e@googlegroups.com> <k3ng02$gni$1@ger.gmane.org> <criu58dhn2dili5c5rmpst2h8bdt9n5q7p@invalid.netcom.com> |
|---|---|
| Date | 2012-09-24 15:14 +1000 |
| Subject | Re: Seome kind of unblocking input |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1181.1348463659.27098.python-list@python.org> (permalink) |
On Mon, Sep 24, 2012 at 3:50 AM, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote: > On Sun, 23 Sep 2012 18:13:57 +0100, Mark Lawrence > <breamoreboy@yahoo.co.uk> declaimed the following in > gmane.comp.python.general: > >> On 23/09/2012 16:49, Ramchandra Apte wrote: > >> > You can clear the buffer by calling file.flush() >> > >> >> Shock, horror, probe, well I never did. I'm sure that everyone is >> updating their Xmas and birthday card lists to ensure that you're not >> missed out having furnished a piece of information that doubtless not >> one other person on this group knew. > > It probably wouldn't have helped either... The OP was looking for, > as I recall, some means by which a pending input would not block other > output on a console... So what use is flushing a buffer? It all depends on *why* pending input appears to be blocking other output. I say "appears to be" because buffered output can indeed appear to be blocked, but so can other things. Flushing output is an easy thing to try. If it fails, back to square one, but with more knowledge. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Seome kind of unblocking input janis.judvaitis@gmail.com - 2012-09-21 02:13 -0700
Re: Seome kind of unblocking input Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-21 15:54 -0400
Re: Seome kind of unblocking input Ramchandra Apte <maniandram01@gmail.com> - 2012-09-23 08:49 -0700
Re: Seome kind of unblocking input Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-23 18:13 +0100
Re: Seome kind of unblocking input Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-23 13:50 -0400
Re: Seome kind of unblocking input Ramchandra Apte <maniandram01@gmail.com> - 2012-09-23 22:31 -0700
Re: Seome kind of unblocking input Ramchandra Apte <maniandram01@gmail.com> - 2012-09-23 22:31 -0700
Re: Seome kind of unblocking input Chris Angelico <rosuav@gmail.com> - 2012-09-24 15:14 +1000
Re: Seome kind of unblocking input Ramchandra Apte <maniandram01@gmail.com> - 2012-09-23 08:49 -0700
Re: Seome kind of unblocking input janis.judvaitis@gmail.com - 2012-09-25 01:05 -0700
csiph-web