Paul Ganssle <p.gans...@gmail.com> added the comment:

I have been thinking about this more and I think the two issues (`min` and 
`max` vs. the incompatibility between C and Python) should be considered two 
separate issues.

My reasoning is that a change of the value of `timezone.min` and `timezone.max` 
is not something I'd be comfortable backporting to 3.7, because it has the 
potential to cause failures in some test suites (for example, 
`datetime.now(tz=datetime.timezone.max).isoformat()` will start returning a 
string that does not conform to ISO 8601, which has no support for sub-minute 
offsets). However, differences between the C and Python implementations are a 
violation of at least the spirit of PEP 399 and I think it should be backported 
to 3.7.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37642>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to