[issue15873] datetime: add ability to parse RFC 3339 dates and times
Mathieu Dupuy
report at bugs.python.org
Sat Jul 2 10:28:38 EDT 2016
Mathieu Dupuy added the comment:
Hi.
I'm back, and willing to move forward on this issue. With the new code layout, the compiled regexes now lay in datetime classes as class attributes. Will it be possible to import date, time and datetime from datetime.py in _datetime.c without a problem ?
By the way, I just discovered, that the way we treat microseconds differs from the strptime one : we are smarter read every digits and smartly round to six, strptime doesn't go that far and just *truncate* to this. Should go that way, for consistency with what strptime does, maybe ?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15873>
_______________________________________
More information about the Python-bugs-list
mailing list