Collin Winter wrote: > Treat dates as if they have a time-part of midnight. This is my preferred > solution, and it is already what the datetime module does, for example, > when subtracting two dates.
Does it really? Seems to me you can pick any time of day to be the representative time and get the same result when subtracting two dates, as long as you pick the same one for both dates. So it's not really assuming anything here. -- Greg _______________________________________________ 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