[issue41904] datetime.datetime.today makes no sense and should be removed
Alexander Belopolsky
report at bugs.python.org
Wed Oct 14 11:49:35 EDT 2020
Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:
I agree that having some of datetime.now([tz]) functionality replicated in datetime.today() makes little sense. However, the presence of this method in datetime class is a consequence of datetime being a subclass of the date class. The latter was a design mistake IMO, but as other pointed out it is too late to do anything about it.
----------
assignee: -> belopolsky
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41904>
_______________________________________
More information about the Python-bugs-list
mailing list