[issue32417] fromutc does not respect datetime subclasses

STINNER Victor report at bugs.python.org
Fri Dec 7 13:12:43 EST 2018


STINNER Victor <vstinner at redhat.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.

You asked to backport up to Python 3.6. The change is either fine to be backported to 2.7 and 3.6, or should not be backported. I prefer to have the same policy for stable branches... but I also understand that 2.7 requires even more stability.

----------
versions:  -Python 3.5

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


More information about the Python-bugs-list mailing list