string repr in 2.1

Michael Hudson mwh at python.net
Mon May 28 14:03:44 EDT 2001


Robin Becker <robin at jessikat.fsnet.co.uk> writes:

> Someone informs me that reportlab can't hack '£' (chr(163)) in 2.1 and
> as I don't have it installed can someone confirm that
> 
> repr('£') is not '\243', but something related to '\xa3' instead.

>>> 0xa3
163
>>> 0243
163

Representations of non-printing characters changed.  That's all.
"\xa3" has always been "\243", too.

Other things that changed:

>>> '\015\012'
'\r\n'

Cheers,
M.

-- 
  If you don't use emacs, you're a pathetic, mewling, masochistic
  weakling and I can't be bothered to convert you.    -- Ron Echeverri



More information about the Python-list mailing list