[Zope3-dev] FreeBSD Test Results - Zope 3 / Python 2.3 - Not OK :-(

Marius Gedminas mgedmin@codeworks.lt
Thu, 23 Jan 2003 19:30:00 +0200


On Thu, Jan 23, 2003 at 10:22:14AM -0500, Tim Peters wrote:
> \xA4 is ambiguous too, in the absence of declaring the intended source-file
> encoding.

Even within Unicode string literals?  Why does unicode.__repr__ then
prefer \xNN instead of \u00NN?

  $ python
  Python 2.2.2 (#1, Dec 18 2002, 10:36:37)
  GCC 2.95.4 20011002 (Debian prerelease)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> u"\u00a4"
  u'\xa4'
  >>>

Just curious,
Marius Gedminas
-- 
Codeworks is available for Zope consulting -- http://www.codeworks.lt/