On 22 September 2015 at 08:03, Guido van Rossum <gu...@python.org> wrote: > Just so people know, over at the datetime-sig I've accepted PEP 495, which > adds a fold flag to datetime objects to distinguish ambiguous times. This > enables roundripping of conversions for those times where the local clock is > moved backward (creating ambiguous times that could not be distinguished > before).
Hurrah, and congratulations in particular on finding a name for the flag which is memorable, meaningful and succinct. > I would like to thank Alexander and Tim for their unrelenting work on this. > The idea seems simple, but the details were excruciatingly hard to get > right, given the strict backwards compatibility requirements. I don't think I've seen a collision between mathematical and language level invariants that complex since the first time I had to figure out the conflict between container membership invariants and floating point NaN values (and this one is even more subtle). I'm reading through the full PEP now, and really appreciating the thorough write up. Thanks to Alexander and Tim, and to all the folks involved in the extensive discussions! Regards, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com