Joe Peterson <j...@skyrush.com> added the comment: Here's a new patch. I would still like to discuss the leading space vs. leading zero issue, but I have reverted to using a leading space in this patch - fewer changes that way.
The long line is also fixed (sorry about that - yes, long lines are ugly). And I have used your suggested Mon2num dict creation. Note that I do an encode() in there for compatibility with Python 3, which throws an exception if the keys are not bytes arrays (consistent with the fix in issue 10939). ---------- Added file: http://bugs.python.org/file20587/imaplib_Time2Internaldate_locale_fix.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11024> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com