Louis Abraham added the comment:
Indeed, this is exactly the same (I should have researched more, my bad).
The problem is that I'm using mailbox.Maildir which uses the Compat32 API.
Do you think I should create an issue for Maildir to support the new
EmailMessag
New submission from Louis Abraham :
Hi,
(this is my first issue btw)
I think
<https://docs.python.org/3/library/email.header.html#email.header.decode_header>
has a broken behavior.
It returns a list of `(decoded_string, charset)` pairs. However,
`decoded_string` can be either a str