Author arigo
Recipients Nam.Nguyen, arigo, eric.araujo, ezio.melotti, lemburg, liori, r.david.murray, vstinner
Date 2011-09-06.16:56:40
SpamBayes Score 0.0148796
Marked as misclassified No
Message-id <1315328201.5.0.263485758966.issue5876@psf.upfronthosting.co.za>
In-reply-to
Content
A __repr__() that returns unicode can, in CPython 2.7 be used in  "%s" % x  or in  u"%s" % x  --- both expressions then return a unicode without doing any encoding --- but it cannot be used anywhere else, e.g. in  "%r" % x  or in  repr(x).  See also the PyPy issue https://bugs.pypy.org/issue857 .
History
Date User Action Args
2011-09-06 16:56:41arigosetrecipients: + arigo, lemburg, vstinner, ezio.melotti, eric.araujo, r.david.murray, liori, Nam.Nguyen
2011-09-06 16:56:41arigosetmessageid: <1315328201.5.0.263485758966.issue5876@psf.upfronthosting.co.za>
2011-09-06 16:56:40arigolinkissue5876 messages
2011-09-06 16:56:40arigocreate