'1' + 1 ==> True ???

Peter Maas fpetermaas at netscape.net
Fri Mar 19 04:03:35 EST 2004


Isaac To schrieb:
>     Peter> I didn't talk about different programs but different machines
>     Peter> (architecture).  Python Standard Library (Comparison) has this
> 
>     Peter> Implementation note: Objects of different types except numbers
>     Peter> are ordered by their type names;
> 
> As you said, it is "implementation note".  Also, about C your argument is
> that different platforms can have different encoding in their characters,
> and thus different ordering.  Since type names are expressed in characters,
> it follows directly that names of types in Python also has such dependency.

You are right. I give up :)

Mit freundlichen Gruessen,

Peter Maas

-- 
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas at mplusr.de
-------------------------------------------------------------------



More information about the Python-list mailing list