Author jafo
Recipients ajb, jafo
Date 2007-09-18.15:11:18
SpamBayes Score 0.0203958
Marked as misclassified No
Message-id <1190128279.44.0.546002916304.issue1175@psf.upfronthosting.co.za>
In-reply-to
Content
Doesn't the exception count as warning the user?

We probably don't want to change readline to return a partial line in
this case.  An exception could be added for EGAIN that includes the
partial line.  Another option would be to just document the behavior for
readline or fcntl.

What is the right behavior for a non-blocking readline?  Obviously, it
can't return a None and buffer the line.  Another option would be to
define readline as a blocking operation and enable buffering before
starting the readline, and possibly revert it when done.

Opinions?
History
Date User Action Args
2007-09-18 15:11:19jafosetspambayes_score: 0.0203958 -> 0.0203958
recipients: + jafo, ajb
2007-09-18 15:11:19jafosetspambayes_score: 0.0203958 -> 0.0203958
messageid: <1190128279.44.0.546002916304.issue1175@psf.upfronthosting.co.za>
2007-09-18 15:11:19jafolinkissue1175 messages
2007-09-18 15:11:18jafocreate