Irit Katriel <iritkatr...@gmail.com> added the comment:

The relevant section in the docs is
https://docs.python.org/3/library/email.parser.html#email.parser.Parser
It currently doesn't advise against using the text parser in any way. 


At the top of the page, the second paragraph says:

"You can pass the parser a bytes, string or file object, and the parser will 
return to you the root EmailMessage instance of the object structure."

----------
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, iritkatriel
title: email.parser.BytesParser - parse and parsebytes work not equivalent -> 
[doc] email.parser.BytesParser - parse and parsebytes work not equivalent
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6, Python 
3.7, Python 3.8

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

Reply via email to