Robert Brewer <[EMAIL PROTECTED]> wrote: > > One solution that just occurred to me -- and that > > skirts the issue of choosing an interpretation -- > > is that, when comparing date and datetime objects, > > the datetime's .date() method is called and the > > result of that call is compared to the original > > date. > > +1 > > ...and it's a decision that can be made independently > of how to add or subtract dates.
I don't like it. It sounds suspiciously like "when comparing integers and floats, discard the non-integer portion of the float and then compare as integers". _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com