This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author p-ganssle
Recipients belopolsky, p-ganssle, zeth
Date 2019-08-27.14:36:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566916597.79.0.34067667411.issue37962@roundup.psfhosted.org>
In-reply-to
Content
This is a duplicate of #35829.

The reason that 'Z' is not supported is that `fromisoformat()` is not a general ISO 8601 parser, but rather is intended to be the inverse of `isoformat()`. See the documentation here: https://docs.python.org/dev/library/datetime.html#datetime.datetime.fromisoformat

The current state of #35829 is that expanding to support all of ISO 8601 is an option, but determining the scope an the API are a bit tricky. ISO 8601 is more complicated than most people think.

In the meantime, `dateutil.parser.isoparse` is intentionally scoped to parse all valid ISO 8601 datetimes.
History
Date User Action Args
2019-08-27 14:36:37p-gansslesetrecipients: + p-ganssle, belopolsky, zeth
2019-08-27 14:36:37p-gansslesetmessageid: <1566916597.79.0.34067667411.issue37962@roundup.psfhosted.org>
2019-08-27 14:36:37p-gansslelinkissue37962 messages
2019-08-27 14:36:37p-gansslecreate