email.message_from_string() is unable to find the headers for the .msg files
Open
Nobody has claimed this yet.
3.8 (EOL)
stdlib
topic-email
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 41157 |
|---|---|
| Nosy | @warsaw, @bitdancer, @maxking, @websurfer5 |
| Files |
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:
assignee = None
closed_at = None
created_at = <Date 2020-06-29.10:51:06.594>
labels = ['3.8', 'type-feature', 'library']
title = 'email.message_from_string() is unable to find the headers for the .msg files'
updated_at = <Date 2020-08-07.05:50:46.185>
user = 'https://bugs.python.org/jpatel'
bugs.python.org fields:
activity = <Date 2020-08-07.05:50:46.185>
actor = 'Jeffrey.Kintscher'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-06-29.10:51:06.594>
creator = 'jpatel'
dependencies = []
files = ['49273', '49274']
hgrepos = []
issue_num = 41157
keywords = []
message_count = 1.0
messages = ['372560']
nosy_count = 5.0
nosy_names = ['barry', 'r.david.murray', 'maxking', 'Jeffrey.Kintscher', 'jpatel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue41157'
versions = ['Python 3.8']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied extract_mail.py script and msgfile_not_working_correctly.msg fixture, then trace the email.message_from_string() entry point in the email library. Reproduce the missing-header behavior and determine the expected parsed headers for the fixture; done means the .msg file headers are found correctly and the behavior is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100