-
- Downloads
#11554: reactivate test_email_codecs, and make it pass.
The fix is to charset.py, which was not doing the encoding to the correct output character set when doing a body_encode for either the shift-jis or euc-jp charsets. There's also a fix for handling a bytes input in encoders.py. Patch by Michael Henry, comment changes by me.
Showing
- Lib/email/charset.py 7 additions, 2 deletionsLib/email/charset.py
- Lib/email/encoders.py 6 additions, 3 deletionsLib/email/encoders.py
- Lib/email/test/test_email.py 2 additions, 2 deletionsLib/email/test/test_email.py
- Lib/email/test/test_email_codecs.py 31 additions, 15 deletionsLib/email/test/test_email_codecs.py
- Lib/test/test_email.py 2 additions, 0 deletionsLib/test/test_email.py
- Misc/ACKS 1 addition, 0 deletionsMisc/ACKS
- Misc/NEWS 5 additions, 0 deletionsMisc/NEWS
Loading
Please register or sign in to comment