[Python-Dev] iso8601 parsing

Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Nov 29 20:17:44 EST 2017


On Wed, Nov 29, 2017 at 7:18 PM, Mario Corchero <mariocj89 at gmail.com> wrote:

> There were discussions about having it a function, making the constructor
> of datetime accept a string(this was strongly rejected), having a static
> function in datetime, etc... and there was no real agreement.
>

Guido has written several times that a named constructor is the way
forward.  The name "fromisoformat" was more or less agreed upon as well.
In fact, Mathieu Dupuy's patch was 95% there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171129/fcdec33b/attachment.html>


More information about the Python-Dev mailing list