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 serhiy.storchaka
Recipients kbk, ned.deily, roger.serwy, serhiy.storchaka, terry.reedy, tim.peters
Date 2013-11-04.08:50:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383555034.81.0.150066489069.issue19481@psf.upfronthosting.co.za>
In-reply-to
Content
And here is a patch for 3.x. Without it following code hangs.

>>> class S(str): pass

>>> import sys
>>> sys.stdout.write('\u20ac')
€1
>>> sys.stdout.write(S('\u20ac'))
€1
History
Date User Action Args
2013-11-04 08:50:34serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, terry.reedy, kbk, ned.deily, roger.serwy
2013-11-04 08:50:34serhiy.storchakasetmessageid: <1383555034.81.0.150066489069.issue19481@psf.upfronthosting.co.za>
2013-11-04 08:50:34serhiy.storchakalinkissue19481 messages
2013-11-04 08:50:34serhiy.storchakacreate