[Twisted-Python] Uses of StringIO instead of cStringIO

Andrew Bennetts andrew at bemusement.org
Wed Jul 21 06:55:07 EDT 2010

Albert Brandl wrote:
> Hi!
> There are several modules in twisted that import StringIO instead of
> cStringIO (e.g. twisted/mail/maildir.py, twisted/news/nntp.py, 
> twisted/web/script.py). Are there any reasons why they use the slower
> variant implemented in Python instead of the C variant?
> If not, I'd like to create a ticket to fix these imports.

It appears someone has gotten there first — take a look at trunk :)


More information about the Twisted-Python mailing list