This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients craigh, kawai, pitrou
Date 2009-08-05.10:59:31
SpamBayes Score 2.2343147e-06
Marked as misclassified No
Message-id <1249469973.11.0.12290139307.issue4997@psf.upfronthosting.co.za>
In-reply-to
Content
You shouldn't remove the defaulting behaviour for `out`, but use
`sys.stdout.buffer` instead.

Bonus points if you add a test so that this kind of bug doesn't go
unnoticed again.

PS: it's ironic that the default encoding here is iso-8859-1. This piece
of code is really getting old.
History
Date User Action Args
2009-08-05 10:59:33pitrousetrecipients: + pitrou, kawai, craigh
2009-08-05 10:59:33pitrousetmessageid: <1249469973.11.0.12290139307.issue4997@psf.upfronthosting.co.za>
2009-08-05 10:59:32pitroulinkissue4997 messages
2009-08-05 10:59:32pitroucreate