Maybe I missed something mentioning it somewhere else, but I wouldn't emphasize `cStringIO`.  `io.StringIO` is the way to go here--it's the Python 3 way (which also works on Python 2.6/2.7 so it's unlikely anyone will not have it).