Message127225
| 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: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 |
|