comparing datetime with date

Peter Maas peter at
Thu Sep 16 11:13:28 CEST 2004

Diez B. Roggisch schrieb:
> The matter is that you try to compare two different things here - so its up
> to the implementation if how it deals with this, as there is no canonical
> way to compare two things that aren't even structural equivalent.

datetime and date are different by implementation, not by meaning. Both
are time intervals.

Peter Maas,  M+R Infosysteme,  D-52070 Aachen,  Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')

More information about the Python-list mailing list