btw, notice in your build failure, that py2 is using `io.StringIO`.   `StringIO.StringIO` or `cString.StringIO` don't fail with the type errors