[Checkins] SVN: ZConfig/trunk/ Initial port to Python 3. For some reason tox really acts up on Python

Fred Drake fred at fdrake.net
Wed Feb 13 05:08:59 UTC 2013


On Tue, Feb 12, 2013 at 9:28 PM, Stephan Richter
<stephan.richter at gmail.com> wrote:
> Okay, I had a closer look and it seems that cStringIO has a bug in Python 2.6
> that it inserts an EOF (\x00) after every character. I switched to the plain
> StringIO and all tests started to pass.

'\x00' is NOT an EOF character; this sounds like Unicode is getting
into a cStringIO,
and that doesn't work so well.  :-(  Perhaps a case for
io.TextIOWrapper; I won't
have time to look for a few days.

Thanks for looking at getting this code up to date, though!


  -Fred

-- 
Fred L. Drake, Jr.    <fred at fdrake.net>
"A storm broke loose in my mind."  --Albert Einstein


More information about the checkins mailing list