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 catalin.iacob
Recipients catalin.iacob, joeshaw, kasun, pitrou, r.david.murray
Date 2011-06-21.19:52:30
SpamBayes Score 9.003698e-10
Marked as misclassified No
Message-id <1308685951.39.0.318380326275.issue12378@psf.upfronthosting.co.za>
In-reply-to
Content
Just a note after running Joe's example. smtplib is affected by this issue in 3.x, but the example produces different results in 3.x: smtpd doesn't keep the connection open due to UnicodeDecodeError when the data from the ssl handshake cannot be decoded as utf-8:

error: uncaptured python exception, closing channel <__main__.SMTPChannel connected 127.0.0.1:34160 at 0xb739a4cc> (<class 'UnicodeDecodeError'>:'utf8' codec can't decode bytes in position 13-14: invalid continuation byte [/mnt/data/catalin/hacking/cpython/default/Lib/asyncore.py|read|83] [/mnt/data/catalin/hacking/cpython/default/Lib/asyncore.py|handle_read_event|442] [/mnt/data/catalin/hacking/cpython/default/Lib/asynchat.py|handle_read|190] [/mnt/data/catalin/hacking/cpython/default/Lib/smtpd.py|collect_incoming_data|278])
History
Date User Action Args
2011-06-21 19:52:31catalin.iacobsetrecipients: + catalin.iacob, pitrou, r.david.murray, joeshaw, kasun
2011-06-21 19:52:31catalin.iacobsetmessageid: <1308685951.39.0.318380326275.issue12378@psf.upfronthosting.co.za>
2011-06-21 19:52:30catalin.iacoblinkissue12378 messages
2011-06-21 19:52:30catalin.iacobcreate