Module rfc822 - uses file-objects - why?

Steve Purcell stephen_purcell at
Fri Feb 23 08:07:51 CET 2001

Aahz Maruch wrote:
> For performance:
> try:
>     from StringIO import StringIO
> except ImportError:
>     from cStringIO import StringIO

Or for even better performance:   <wink>

     from cStringIO import StringIO
 except ImportError:
     from StringIO import StringIO

Pedantic, but someone might try it the other way round and post a bunch of
messages complaining that it's too slow...  :-)


Steve Purcell, Pythangelist
Get testing at
Get servlets at
"Even snakes are afraid of snakes." -- Steven Wright

More information about the Python-list mailing list