[Datetime-SIG] PEP 495 (Local Time Disambiguation) is ready for pronouncement

Guido van Rossum guido at python.org
Tue Aug 18 21:04:07 CEST 2015

On Tue, Aug 18, 2015 at 11:58 AM, Tim Peters <tim.peters at gmail.com> wrote:

> But, seriously, I still think it should be "_later" or "_first"
> instead:  99.9973% of users will never have a need to understand what
> it means.  The datetime and tzinfo implementers will make it work by
> magic for them in almost all cases.  At worst, the 0.0027% of users
> remaining may get irked by some anal software asking them "you know,
> the time you specified is ambiguous in your current time zone - did
> you intend the earlier or later time?".  They'll reboot their computer
> and hope the question goes away ;-)

That's why I proposed 'fold' -- it tells you "you probably don't care about
this" without the leading underscore -- underscore smells too much of
"internal to implementation" to me, while we really want this to be part of
the API, just an obscure part.

--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150818/9fc7a0f8/attachment.html>

More information about the Datetime-SIG mailing list