You can clone with
HTTPS or Subversion.
@jstenar says this fixes printing Unicode at the Qt console in Windows (issue #529). It also makes sense in terms of the code, fixing a broken design I'd put in place some time ago.
Why not use the more efficient cStringIO?
They do different things - io.StringIO expects Unicode (i.e. it's forwards compatible with Python 3). It's also actually written in C - the Python io module just exports it from the C _io module.
...OK, it's possibly moved into C for 2.7.
Sounds good, as long as there is a reason.
This makes sense - the forcing of bytes doesn't make sense anymore, because these are real (JSON-style) messages now. Presumably at some point they were basic pyzmq sends, which can't support unicode.
Go ahead and merge this one.
Thanks, Min. Rebased and merged.