[Python-Dev] Status on PEP-431 Timezones

Ryan Hiebert ryan at ryanhiebert.com
Mon Jul 27 17:42:42 CEST 2015


> On Jul 27, 2015, at 10:37 AM, Alexander Belopolsky <alexander.belopolsky at gmail.com> wrote:
> 
> On the other hand, these rare events are not that different from more or less regular DST
> transitions.  You still have either a non-existent or ambiguous local times interval and
> you can resolve the ambiguity by adding 1 bit of information.  The only question is what
> should we call the flag that will supply that information?  IMO, "isdst" is a wrong name
> for dealing with the event I described above.

While I see your point that isdst is the wrong name in that it doesn't describe what's actually happening in all cases, it is the most well known instance of the issue, and I personally think that using isdst for the other cases makes sense, and that they would disambiguate in the same direction that it would in a dst transition of the same type (clocks forward or backward).


More information about the Python-Dev mailing list