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 pakal, pitrou
Date 2010-05-20.16:15:42
SpamBayes Score 0.00045241488
Marked as misclassified No
Message-id <1274372144.93.0.654767210007.issue8765@psf.upfronthosting.co.za>
In-reply-to
Content
> The initial problem here is that we can't write unicode to a buffered 
> binary stream (TypeError), but we can do it with an unbufferred raw 
> stream - as the C implementation of the latter does string coercion 
> instead of raising TypeError.
> Shouldn't we unify the behaviour of binary streams in such cases ?

Yes, we certainly should. This is probably an oversight or a bug.
History
Date User Action Args
2010-05-20 16:15:45pitrousetrecipients: + pitrou, pakal
2010-05-20 16:15:44pitrousetmessageid: <1274372144.93.0.654767210007.issue8765@psf.upfronthosting.co.za>
2010-05-20 16:15:43pitroulinkissue8765 messages
2010-05-20 16:15:43pitroucreate