Message318772
> it's actually possible to implement full `fold` support in a generic way
I am aware of that. In fact, some of the draft versions of PEP 495 implementation did contain such code. The problem is that any such tz.fromutc() implementation would necessarily change the behavior of the old programs. Moreover, any implementation of tz.fromutc() in terms of tz.utcoffset() is more complicated and less efficient than code that he's direct access to a database of transition times. |
|
Date |
User |
Action |
Args |
2018-06-05 17:01:37 | belopolsky | set | recipients:
+ belopolsky, tim.peters, p-ganssle |
2018-06-05 17:01:37 | belopolsky | set | messageid: <1528218097.41.0.592728768989.issue28602@psf.upfronthosting.co.za> |
2018-06-05 17:01:37 | belopolsky | link | issue28602 messages |
2018-06-05 17:01:37 | belopolsky | create | |
|