Signals and readline()

Jeff Epler jepler at inetnebr.com
Sun Apr 29 21:53:34 EDT 2001


On Sun, 29 Apr 2001 14:58:58 -0700, Bob Alexander
 <balexander at rsv.ricoh.com> wrote:
> The current behavior is bad because there is no way to distinguish between the
> incorrect empty line and a real end of file.

That's not true.  An empty line is '\n' and end-of-file is ''.

Jeff



More information about the Python-list mailing list