New submission from Ryan McCampbell <rmccampbe...@gmail.com>:

The email.contentmanager.set_bytes_content function which handles bytes content 
for raw_data_manager fails when passed cte="7bit" with an AttributeError: 
'bytes' object has no attribute 'encode'. This is probably not a major use case 
since bytes are generally not for 7-bit data but the failure is clearly not 
intentional.

----------
components: Library (Lib)
messages: 359555
nosy: rmccampbell7
priority: normal
severity: normal
status: open
title: email.contentmanager.raw_data_manager bytes handler breaks on 7bit cte
type: behavior
versions: Python 3.8

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

Reply via email to