[issue7989] Add pure Python implementation of datetime module to CPython

Tim Peters report at bugs.python.org
Sat Jul 3 00:00:09 CEST 2010


Tim Peters <tim.peters at gmail.com> added the comment:

> Do you remember why it was a good idea to
> derive datetime from date?

Why not?  A datetime is a date, but with additional behavior.  Makes inheritance conceptually natural.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7989>
_______________________________________


More information about the Python-bugs-list mailing list