[issue4442] datetime not subclassable in the usual way

Benjamin Peterson report at bugs.python.org
Wed Nov 26 18:24:58 CET 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

This is because datetime does all its initialization in __new__ instead
of __init__.

----------
nosy: +benjamin.peterson
priority:  -> normal
type:  -> feature request
versions: +Python 2.7, Python 3.1 -Python 2.5

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


More information about the Python-bugs-list mailing list