Author aliles
Recipients aliles, amaury.forgeotdarc, belopolsky, dangyogi, flox, gruszczy, r.david.murray, vstinner
Date 2012-08-22.12:01:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Replicated this issue on Python 3.3b2. The cause is the 'encoding' and 'errors' attributes on io.StringIO() being None. Doctest replaces sys.stdout with a StringIO subclass. The exception raised is still a TypeError.

At this point I'm unsure what the fix should be:

1. Should the exception raised be more descriptive of the problem?
2. Should io.StringIO have real values for encoding and errors?
3. Should Doctest's StingIO class provide encoding and errors?
Date User Action Args
2012-08-22 12:01:34alilessetrecipients: + aliles, amaury.forgeotdarc, belopolsky, vstinner, dangyogi, r.david.murray, gruszczy, flox
2012-08-22 12:01:34alilessetmessageid: <>
2012-08-22 12:01:33alileslinkissue8256 messages
2012-08-22 12:01:32alilescreate