New submission from simon04:
This relates to the unresolved issue9208 (Python 2).
SMTPHandler fails when receiving unicode strings.
Example (from msg109621):
import logging,logging.handlers
smtpHandler = logging.handlers.SMTPHandler(
mailhost=("smtp.free.fr",25),
fromaddr=&qu
Changes by simon04 <simon.leg...@gmail.com>:
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25411>
___
_
simon04 added the comment:
I don't see why/how this should be fixed in Python 3.
Using the example from msg109621 and Python 3.5.0, I get:
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.5/logging/handlers.py", line 985, in emit
smtp.sendmail(sel