Sergei Maertens added the comment:
I was looking for some way to be able to add a thread finalizer, a piece of
code to be called when the thread pool shuts down and all threads need cleaning
up. Glad I came across this issue, since the example of using a Thread subclass
with a custom run
Sergei Maertens added the comment:
I could probably come up with a patch, but the reason I ran into this is
because it's used in the core of Django. I already submitted a bug with Django,
and with the legaciness of this function it feels like Django should move to
the new API or implemen
New submission from Sergei Maertens:
The function `formataddr` in stdlib `email.utils` does not allow unicode e-mail
addresses where the first part (before the @) is unicode. Python 3.5 promises
support for SMTPUTF8 through `EmailPoliy.utf8`
(https://docs.python.org/3/whatsnew/3.5.html#email