[Datetime-SIG] PEP-495 - Strict Invalid Time Checking

Ethan Furman ethan at stoneleaf.us
Fri Aug 28 03:17:06 CEST 2015


On 08/27/2015 06:51 AM, Alexander Belopolsky wrote:

> """
>   In CPython, any non-integer value of fold [passed to replace()] will raise a TypeError , but other implementations may allow the value None to behave the same as when fold is not given.
> """
>
> I am fine with removing this text and leaving fold=None option open for the future PEPs to explore.

Sounds like a good compromise.  Thank you.

--
~Ethan~


More information about the Datetime-SIG mailing list