Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: This is trivial to implement (see attached) and IMHO is a good idea.
The next question, however is whether similar changes should be made to timedelta arithmetics. Timedelta case is not so clearcut because of the usual dilemma of what the type of a+b should be when a and b are instances of two different subclasses of timedelta. ---------- keywords: +patch nosy: +belopolsky Added file: http://bugs.python.org/file9651/datetime.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2267> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com