On Fri, Sep 18, 2015 at 1:05 PM, Paul Ganssle <[email protected]> wrote:

> I haven't had time to read the PEP or the discussion on the matter, so
> maybe this has already been considered, but would make for a simpler
> interface if an unspecified value for fold left the old behavior intact.
>

Yes this have been considered and there is a section [1] on this in the
PEP.  TL;DR: There will be no way to spell "fold=unspecified."  We decided
to change the current disambiguation rule (default to STD) because it does
not work for roll-back transitions that don't change isdst.  Furthermore,
this rule is only needed to make default fromutc() work, but post-PEP
tzinfos will have to override that method anyways.

[1]: https://www.python.org/dev/peps/pep-0495/#backward-compatibility
_______________________________________________
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