Open f77cc8dc-6bc8-43a5-974f-4e21c6f6aa2f opened 4 years ago
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = None closed_at = None created_at =
labels = ['3.8', 'type-bug', 'library']
title = 'email.contentmanager.raw_data_manager bytes handler breaks on 7bit cte'
updated_at =
user = 'https://bugs.python.org/rmccampbell7'
```
bugs.python.org fields:
```python
activity =
actor = 'rmccampbell7'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation =
creator = 'rmccampbell7'
dependencies = []
files = []
hgrepos = []
issue_num = 39252
keywords = []
message_count = 1.0
messages = ['359555']
nosy_count = 1.0
nosy_names = ['rmccampbell7']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue39252'
versions = ['Python 3.8']
```