while true: !!!

Delaney, Timothy tdelaney at avaya.com
Wed Dec 20 01:00:52 CET 2000

> "Delaney, Timothy" wrote:
> > maybe_buffered_stream = MaybeBufferedFileInputStream(file_object)
> >
> > while maybe_buffered_stream.has_unread_contents:
> >        line = maybe_buffered_stream.readline()
> so you prefer slow and fragile code over fast and robust
> code.  fine.  now please shut up, and let this thread die.

ROTFL. Or were you serious?

There is nothing here which is any more fragile than any other method. Of
course, I omitted the code that dealt with exceptional circumstances for
clarity ... perhaps this confused you.

Shutting up now.

Tim Delaney
Avaya Australia

More information about the Python-list mailing list