On Wed, Jan 29, 2003 at 12:25:58PM +0100, Eric Brunel wrote: > Hi all, > > Consider the following class: [snip] This can be demonstrated with slightly simpler code: >>> class D: ... def __repr__(self): return unicode("\r\n\t\01\u1234\U12345678") ... >>> D() \r\n\t\x01\u1234\U12345678