On Tue, Jul 20, 2010 at 5:56 PM, Alexander Belopolsky <alexander.belopol...@gmail.com> wrote: > In the real world where we have to take backward compatibility into > account, I would like to make today() and now() to be the same: both > taking optional tz argument, both available as either date or datetime > methods and both covariant. the justification for having two methods > doing exactly the same will be just readability: date.today() and > datetime.now() are more readable than date.now() and datetime.today().
I agree. Unless, of course, someone has a good explanation/reason for why today() and now() are implemented differently (i.e. a use case where the difference is significant). Anders _______________________________________________ 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