This is starting to come up a lot more as people switch from pytz to zoneinfo, so a reminder about datetime arithmetic semantics; addition is NOT referring to elapsed time:
blog.ganssle.io/articles/2018/

(Relevant SO question: stackoverflow.com/q/64440016/4 )

Follow

To be honest, I feel like I may have shot myself in the foot by trying to get the word out about this the last few years. It's so widely misunderstood that I may have been able to make the case for a backwards-incompatible change based on "we'd be fixing more code than we break".

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.