At 11:36 PM 7/9/2001 +0200, M.-A. Lemburg wrote: >In this case you could use: > > if a and b and (a == b): ... > >(DateTime instances are always true, None is false) That seems to break down if they are both None. str(a)==str(b) seems to be the safest bet until 2.0.2 comes out later this week. ;-) -Chuck