3.2: email.message.get_payload() delivers str, but send_message expect bytes

Axel Rau axel.nospam.rau at Chaos1.DE
Tue Apr 12 19:17:05 CEST 2011


On 08.04.11 13:43, Axel Rau wrote:
> line 167, in sub
>     return _compile(pattern, flags).sub(repl, string, count)
> TypeError: sequence item 1: expected bytes, str found
I just filed issue 11837.

Axel



More information about the Python-list mailing list