John Machin wrote:
[snip]
> 2. Then realise that your test is equivalent to
>
> if not line.startswith('^From '):

Whoops!

That '^From ' (and all later ones) should have been 'From '

(the perils of over-hasty copy/paste)

The timings are, if anything, a tiny bit faster than before.

Cheers,
John

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to