durusmail: quixote-users: Quixote 2.0a1, Unicode, Python 2.3
Quixote 2.0a1, Unicode, Python 2.3
2004-10-21
Quixote 2.0a1, Unicode, Python 2.3
Jim Dukarm
2004-10-21
On Thursday 21 October 2004 08:07, Neil Schemenauer wrote:
> I just noticed today that Python 2.3 has some unicode bugs that
> affect Quixote 2.0a1.
> ...
> >>> u'%s' % A()
>
> Traceback (most recent call last):

Even a simple "print A()" produces a traceback (Python 2.3.3 on SuSE Linux
9.1).  On the other hand, "print u'\u1234'" does not blow up.

> It's surprising to me that no one noticed this sooner.

Right after Quixote 2.0a1 was released, I had a HD wipe-out that set me back
several days, so that may have saved me the trouble of encountering this bug
up to now.  Other than that, I seem to have avoided this bug because most of
my app's Unicode text is either literal or is returned by an explicit method
call (e.g. A.html()); but sooner or later the bug would crop up (especially
if Quixote 2 has trouble with it).

Thanks for the heads-up.

Jim Dukarm
DELTA-X RESEARCH INC
Victoria BC Canada

reply