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

R. David Murray report at bugs.python.org
Sun May 15 11:50:35 EDT 2016


R. David Murray added the comment:

Why can't you make a copy and then patch the changed attributes on the copy?

----------

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


More information about the Python-bugs-list mailing list