New submission from Louis Abraham <louis.abra...@yahoo.fr>:

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 string or bytes.
I have no preference but it should really be of one type.

----------
messages: 344392
nosy: louis.abra...@yahoo.fr
priority: normal
severity: normal
status: open
title: Inconsistent behavior of email.header.decode_header

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37139>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to