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 lemburg
Recipients Nam.Nguyen, arigo, eric.araujo, ezio.melotti, lemburg, liori, r.david.murray, serhiy.storchaka, vstinner
Date 2013-08-23.19:22:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <5217B67F.8090806@egenix.com>
In-reply-to <1377285143.64.0.650622578265.issue5876@psf.upfronthosting.co.za>
Content
Serhiy Storchaka wrote:
>> .__repr__() is not really allowed to return Unicode objects in Python 2.x. If you do this, you're on your own.
> 
> PyObject_Repr() contains a code which converts unicode to str and raise an exception if __repr__() result is not str or unicode. Unicode __repr__() is expected even if it is not recommended.

True, but the code is not intended to support non-ASCII Unicode,
otherwise we would have taken care to introduce support for this
much earlier in the 2.x series.
History
Date User Action Args
2013-08-23 19:22:50lemburgsetrecipients: + lemburg, arigo, vstinner, ezio.melotti, eric.araujo, r.david.murray, liori, Nam.Nguyen, serhiy.storchaka
2013-08-23 19:22:50lemburglinkissue5876 messages
2013-08-23 19:22:50lemburgcreate