mitogen
mitogen copied to clipboard
Clarify behaviour `cStringIO.StringIO` behaviour wrt `unicode`
I thought cStringIO.StringIO was stricter about unicode objects than StringIO.StringIO and that explained https://github.com/mitogen-hq/mitogen/commit/34751c38b0a2f6dfb83daed334d9fdfa3d22cc52. However I can't reproduce that difference now.
That code should probably prefer io module, rather than fallback to it.