Follow

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 )

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
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.