[issue10939] imaplib: Internaldate2tuple raises KeyError parsing month and does not work with negative TZ offset due to bytes/str issues
Alexander Belopolsky
report at bugs.python.org
Sun Jan 30 00:07:13 CET 2011
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
On Sat, Jan 29, 2011 at 5:48 PM, Joe Peterson <report at bugs.python.org> wrote:
..
> Note that this also exposes another problem with Time2Internaldate(), since it uses
> time.timezone/time.altzone, which are only valid for the current rules, not old rules as in the London case
> near the epoch.
This is a known issue. Hopefully this example will raise more
interest for issue 9527. See also issue 1647654 which suggests a
python-only work-around.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10939>
_______________________________________
More information about the Python-bugs-list
mailing list