On Thu, Aug 27, 2015 at 9:12 AM, Stuart Bishop <[email protected]> wrote: > > 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. [1]: https://www.python.org/dev/peps/pep-0495/#why-not-call-the-new-flag-isdst
_______________________________________________ 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/
