Re: None in comparison

2008-07-18 Thread Terry Reedy
Marc 'BlackJack' Rintsch wrote: On Thu, 17 Jul 2008 23:52:13 -0700, r.grimm wrote: Hello, I'm a little confused about None in comparison. id ( None ) 3086100672L id ( 1 ) 134541104 None < 1 True I thought, the id of the object is the last comparison criterion

Re: None in comparison

2008-07-18 Thread Marc 'BlackJack' Rintsch
On Thu, 17 Jul 2008 23:52:13 -0700, r.grimm wrote: > Hello, > I'm a little confused about None in comparison. > >>>> id ( None ) > 3086100672L >>>> id ( 1 ) > 134541104 >>>> None < 1 > True >>>> > > I thought, the i

None in comparison

2008-07-17 Thread r . grimm
Hello, I'm a little confused about None in comparison. >>> id ( None ) 3086100672L >>> id ( 1 ) 134541104 >>> None < 1 True >>> I thought, the id of the object is the last comparison criterion. Therefore, None must be greater then 1. Where is the