P
Paul Rubin
Python 2.5 (r25:51908, Oct 6 2006, 15:24:43)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
I would have thought StringIO and cStringIO would return the
same result for this ascii-encodeable string. Worse:
u'a'
does the right thing, but
u'a\x00\x00\x00'
looks bogus. Am I misunderstanding something?
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
I would have thought StringIO and cStringIO would return the
same result for this ascii-encodeable string. Worse:
u'a'
does the right thing, but
u'a\x00\x00\x00'
looks bogus. Am I misunderstanding something?