mirror of https://github.com/python/cpython
Update the email section
This commit is contained in:
parent
9767365318
commit
cf8a382c94
|
@ -618,7 +618,8 @@ format.
|
||||||
convert message bodies that have a :mailheader:`Content-Transfer-Encoding` of
|
convert message bodies that have a :mailheader:`Content-Transfer-Encoding` of
|
||||||
*8bit* to instead have a *7bit* :mailheader:`Content-Transfer-Encoding`.
|
*8bit* to instead have a *7bit* :mailheader:`Content-Transfer-Encoding`.
|
||||||
|
|
||||||
.. XXX: Headers with Un-encoded non-ASCII bytes will be :rfc:`2047`\ -encoded using the charset `unknown-8bit`.
|
Headers with unencoded non-ASCII bytes are deemed to be :rfc:`2047`\ -encoded
|
||||||
|
using the *unknown-8bit* character set.
|
||||||
|
|
||||||
* A new class :class:`~email.generator.BytesGenerator` produces bytes as output,
|
* A new class :class:`~email.generator.BytesGenerator` produces bytes as output,
|
||||||
preserving any unchanged non-ASCII data that was present in the input used to
|
preserving any unchanged non-ASCII data that was present in the input used to
|
||||||
|
@ -631,8 +632,6 @@ format.
|
||||||
:class:`~email.message.Message` object and can optionally obtain the
|
:class:`~email.message.Message` object and can optionally obtain the
|
||||||
*from_addr* and *to_addrs* addresses directly from the object.
|
*from_addr* and *to_addrs* addresses directly from the object.
|
||||||
|
|
||||||
.. XXX Update before 3.2rc1 to reflect all of the latest work and add examples.
|
|
||||||
|
|
||||||
(Proposed and implemented by R. David Murray, :issue:`4661` and :issue:`10321`.)
|
(Proposed and implemented by R. David Murray, :issue:`4661` and :issue:`10321`.)
|
||||||
|
|
||||||
elementtree
|
elementtree
|
||||||
|
|
Loading…
Reference in New Issue