On Tue, Sep 1, 2015 at 5:56 PM, Tim Peters <[email protected]> wrote:
> Paying attention to fold=1 in naive time does muddy the naive-time > concept. A little. But it should hardly ever matter: even using a > 495 tzinfo, there is nothing a user working _in_ naive time can do to > see a fold=1 value. They have to force it by hand, or use an > operation _outside_ of naive time (like .astimezone()) to get one. > There are two more cases: (1) datetime.now() will return fold=1 instances during one hour each year; (2) datetime.fromtimestamp(s) will return fold=1 instances for some values of s.
_______________________________________________ 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/
