This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lavajoe
Recipients lavajoe, r.david.murray, spaetz
Date 2011-01-27.21:06:00
SpamBayes Score 1.1985986e-05
Marked as misclassified No
Message-id <1296162361.6.0.600244831144.issue11024@psf.upfronthosting.co.za>
In-reply-to
Content
OK, I attached a patch that should work.  Note that this patch works for Python 2 and Python 3.

As an aside, the str type is still returned as before (even in Python 3), and the _month_names list uses str.  As has been discussed, it may be more proper to return a bytes array and be consistent throughout imaplib, but this is not addressed here.

Also, I return a leading zero on the day instead of a leading space, since this appears to be what is returned by two IMAP servers I have just tested (gmail's and dovecot).
History
Date User Action Args
2011-01-27 21:06:01lavajoesetrecipients: + lavajoe, r.david.murray, spaetz
2011-01-27 21:06:01lavajoesetmessageid: <1296162361.6.0.600244831144.issue11024@psf.upfronthosting.co.za>
2011-01-27 21:06:01lavajoelinkissue11024 messages
2011-01-27 21:06:00lavajoecreate