[issue32417] fromutc does not respect datetime subclasses

Paul Ganssle report at bugs.python.org
Fri Dec 7 13:06:34 EST 2018


Paul Ganssle <p.ganssle at gmail.com> added the comment:

I am somewhat uneasy about backporting this to Python 2.7 because changing the return type of `SomeDateTime + timedelta` could be seen as a breaking change. I have sent a message to the datetime-SIG mailing list about this for more visibility.

If it is decided that this is just a bugfix, I'm OK with creating a backport for 2.7 (provided that there's nothing so different about 2.7 that the fix becomes much bigger).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32417>
_______________________________________


More information about the Python-bugs-list mailing list