On Thu, 24 Feb 2005 14:51:07 -0500, Christopher De Vries <[EMAIL PROTECTED]> wrote:
> >The other modification would be an option to ignore multiple nulls in a row, >rather than returning empty strings, which could be done in a similar way. > Why not leave this to the caller? Efficiency?? Filtering out empty lines is the least of your worries. Try giving the callers options to do things they *can't* do themselves, like a different line-terminator or a buffer size > 2048 [which could well enhance efficiency] or < 10 [which definitely enhances testing] -- http://mail.python.org/mailman/listinfo/python-list