[issue20371] datetime.datetime.replace bypasses a subclass's __new__

R. David Murray report at bugs.python.org
Thu Jan 23 21:12:59 CET 2014


R. David Murray added the comment:

It is actually not surprising if you are familiar with the copy/pickle protocol.  Presumably that should be mentioned in the replace docs, though (assuming I'm right and that is why the behavior occurs).

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list