[issue665194] datetime-RFC2822 roundtripping

R. David Murray report at bugs.python.org
Thu May 5 18:44:04 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Do you think we can get 9527 in?  My patch was based on the non-existence of a LocalTimezone facility in the stdlib.

Good point about the special interpretation of -0000.  Given 9527 (and only given 9527) it would indeed make sense to restrict email to aware datetimes plus naive datetimes for -0000 timestamps.

I'll have to keep a flag for the 60th second  outside of the datetime instance (or pretend it doesn't exist :)

----------
dependencies: +Add aware local time support to datetime module

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue665194>
_______________________________________


More information about the Python-bugs-list mailing list