[Datetime-SIG] PEP 495 (Local Time Disambiguation) is ready for pronouncement
Ethan Furman
ethan at stoneleaf.us
Tue Aug 18 19:19:38 CEST 2015
On 08/18/2015 09:43 AM, Felipe Ochoa wrote:
> To me the problem is that in my mind both of the repeated times are
> part of “the fold” so `fold=True` intuitively to me means the same
> as `is_ambiguous=True`. What if we merge the proposals and set the
> attribute to `last_fold`? Then the timeline looks like:
>
> last_fold=True
> +--+ (time flows counter-
> \ | clockwise in the
> \| loop)
> ---------------->+----------------->
> last_fold=False last_fold=False
I find 'last_fold' to be more confusing than 'fold'. Plus, time is flowing clockwise.
Maybe 'repeat'? Then `repeat = 0` is the default, and `repeat = 1` for the repeated time.
--
~Ethan~
More information about the Datetime-SIG
mailing list