Message350633
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. |
|
Date |
User |
Action |
Args |
2019-08-27 14:36:37 | p-ganssle | set | recipients:
+ p-ganssle, belopolsky, zeth |
2019-08-27 14:36:37 | p-ganssle | set | messageid: <1566916597.79.0.34067667411.issue37962@roundup.psfhosted.org> |
2019-08-27 14:36:37 | p-ganssle | link | issue37962 messages |
2019-08-27 14:36:37 | p-ganssle | create | |
|