On Fri, Aug 28, 2015 at 7:51 PM, Guido van Rossum <[email protected]> wrote:

> On Fri, Aug 28, 2015 at 6:53 PM, Guido van Rossum <[email protected]>
>> wrote:
>>
>>> I'm not entirely sure why we didn't add this to the stdlib ages ago.
>>
>>
>>
> But (as my base class shows) implementing the required API using only the
> tm_isdst flag and the timezone-related attributes of the time module
> (tzname, timezone, altzone) a satisfactory implementation can be obtained,
> and that API has been stable since the beginning of time.
>

To be fair, we did ship something very similar, but it was only accessible
to users who read the library manual: <
https://hg.python.org/cpython/file/v3.5.0rc2/Doc/includes/tzinfo-examples.py#l54>.
:-)
_______________________________________________
Datetime-SIG mailing list
[email protected]
https://mail.python.org/mailman/listinfo/datetime-sig
The PSF Code of Conduct applies to this mailing list: 
https://www.python.org/psf/codeofconduct/

Reply via email to