Message127225
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). |
|
Date |
User |
Action |
Args |
2011-01-27 21:06:01 | lavajoe | set | recipients:
+ lavajoe, r.david.murray, spaetz |
2011-01-27 21:06:01 | lavajoe | set | messageid: <1296162361.6.0.600244831144.issue11024@psf.upfronthosting.co.za> |
2011-01-27 21:06:01 | lavajoe | link | issue11024 messages |
2011-01-27 21:06:00 | lavajoe | create | |
|