This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: email/__init__.py: Parse headersonly
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: barry Nosy List: barry, cjmayo
Priority: normal Keywords: patch

Created on 2004-03-20 12:18 by cjmayo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch.txt cjmayo, 2004-03-20 12:18 diff -u for email/__init__.py
Messages (2)
msg45609 - (view) Author: Chris Mayo (cjmayo) Date: 2004-03-20 12:18
The attached simple patch brings the useful headersonly
parameter up to the message_from_string function to
optionally parse the headers of messages without bodies.
msg45610 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2004-10-09 20:43
Logged In: YES 
user_id=12800

message_from_string() and message_from_file() are
conveniences only and I'd rather not clutter up their API. 
It's easy enough to instantiate a parser directly so I don't
think this patch adds enough value.
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40056
2004-03-20 12:18:32cjmayocreate