[email protected] wrote:
There's a catch to using cStringIO if you're not handling plain ASCII.
I saw the following paragraph in the cStringIO documentation:

        Unlike the memory files implemented by the StringIO module,
        those provided by this module are not able to accept Unicode
        strings that cannot be encoded as plain ASCII strings
        (http://www.python.org/doc/2.4.4/lib/module-cStringIO.html)

If licenses are only in ASCII, then cStringIO would be preferable.

The pydoc page for cStringIO doesn't include such a warning, of course :(

Thanks for the note.

--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to