New submission from Timothy Pederick: At present, the datetime module does not provide the capability to parse its own output from the isoformat() methods.
strptime() can't handle timezones with colons in them (and anyway it seems to me you'd need to try several possible format strings depending on ' ' vs 'T' separators, presence/absence of microseconds, pres/abs timezone...). Adding this capability would be one option (%f already establishes a precedent for adding codes outside of what C supports). Another, perhaps superior option would be a specific method for parsing the output of isoformat(). ---------- components: Library (Lib) messages: 197482 nosy: perey priority: normal severity: normal status: open title: datetime: Read in isoformat() output type: enhancement versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19004> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com