[Datetime-SIG] PEP-431/495

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Aug 27 16:05:37 CEST 2015

On Thu, Aug 27, 2015 at 9:12 AM, Stuart Bishop <stuart at stuartbishop.net>
> But, really, I hate all the options for the flag name. I lean towards
> is_dst mainly because people are used to it.

Ironically, you created one of the reasons I did not want any mention of
"dst" in the new attribute: the way pytz's localize() uses is_dst is so
different from the way mktime() uses tm_isdst, that creating a third set of
rules for a variable with a similar name was out of the question.

If you have time, please re-read the answer to "Why not call the new flag
'isdst'?" [1] in the PEP and let me know if it needs any improvements.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150827/61f265cb/attachment.html>

More information about the Datetime-SIG mailing list