[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

2020-10-21 Thread Paul Ganssle
Paul Ganssle added the comment: Yeah, people are very confused by this, which is why I wrote that article. Maybe there is a place for big warnings somewhere? I have been mulling over the possibility of proposing a backwards-incompatible (though minimally so, hopefully) change to arithmetic se

[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

2020-10-13 Thread David Grellscheid
David Grellscheid added the comment: OK, having read https://blog.ganssle.io/articles/2018/02/aware-datetime-arithmetic.html, this bizarreness is actually intended behaviour. It goes completely against my intuitive understanding of how this should come out. No additions are involved, just s

[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

2020-10-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

2020-10-13 Thread David Grellscheid
David Grellscheid added the comment: Here's a third example, without fold= involved. The spring transition also does not work when the timezone in the difference is equal: 01:59:00 to 03:01:00 should be 2 minutes All these should be 0:02:00 apart 1:02:00 Oslo_1 - Oslo_0 0:02:00 Berlin_1 -