Use of StringIO vs cStringIO in standard modules

Barry A. Warsaw bwarsaw at CNRI.Reston.VA.US
Thu Jun 3 14:48:35 EDT 1999


>>>>> "HN" == Hrvoje Niksic <hniksic at srce.hr> writes:

    | try:
    |     from cStringIO import StringIO
    | except:
    |     from StringIO import StringIO

I do this (though I use "except ImportError") in all my new code.
Maybe Guido would take patches to the standard library (most of which
probably pre-dates cStringIO) to effect this change?

-Barry




More information about the Python-list mailing list