Is 0 > None?? (fwd)
gbreed at cix.compulink.co.uk
gbreed at cix.compulink.co.uk
Mon Sep 3 08:36:51 EDT 2001
In article <9mvpo606f7 at enews2.newsguy.com>, aleax at aleax.it (Alex Martelli)
wrote:
> It seems to me that nothing bad is happening (even with the
> debatable choice of 'ascii' as the default encoding, which
> I've restored for the purpose of this test from the latin-1
> I normally use in my sitecustomize.py -- I thought your
> observation might stem from such issues). I must be
> missing something here.
PythonWin 2.0 (#8, Oct 19 2000, 11:30:05) [MSC 32 bit (Intel)] on win32.
Portions Copyright 1994-2000 Mark Hammond (MarkH at ActiveState.com) - see
'Help/About PythonWin' for further copyright information.
>>> 'ciao'<'ciaó'
1
>>> u'ciaó'<'ciaó'
Traceback (innermost last):
File "<interactive input>", line 1, in ?
UnicodeError: ASCII decoding error: ordinal not in range(128)
>>>
Graham
More information about the Python-list
mailing list