This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ajb
Recipients ajb, jafo
Date 2007-09-18.16:25:12
SpamBayes Score 0.297996
Marked as misclassified No
Message-id <1190132713.36.0.51002200136.issue1175@psf.upfronthosting.co.za>
In-reply-to
Content
I don't need to change my code as I have now worked round the problem,
but for an example of why someone might want nonblocking mode:

It was not actually in order to do any more work, but because I was
managing both input and output to gdb in one thread (for simplicity). I
therefore needed to collect everything gdb had printed out, but not try
to read any more and cause a block because then I could not give GDB its
next command, and gdb would not give me any more until I did.

I think I did try select, but if I recall correctly, that doesn't work
well with .readline() either. I can't remember why, though.
History
Date User Action Args
2007-09-18 16:25:13ajbsetspambayes_score: 0.297996 -> 0.297996
recipients: + ajb, jafo
2007-09-18 16:25:13ajbsetspambayes_score: 0.297996 -> 0.297996
messageid: <1190132713.36.0.51002200136.issue1175@psf.upfronthosting.co.za>
2007-09-18 16:25:13ajblinkissue1175 messages
2007-09-18 16:25:12ajbcreate