Just van Rossum wrote: > While I appreciate that there are maintained pure Python versions of > those modules, as a user it irritates me that I have the choice. The > argument so far for not replacing StringIO with cStringIO was that > they're subtly incompatible (mostly StringIO's "feature" to support > unicode, right?)
I believe the rationale for providing them as old-style classes also was to support inheritance. Atleast, that's what the docstring in StringIO.py says: - There's also a much faster implementation in C, called cStringIO, but it's not subclassable. Regards, Martin _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com