8000 Add the news to 3.13; there's still hope for backporting · python/cpython@ef65562 · GitHub
[go: up one dir, main page]

Skip to content

Commit ef65562

Browse files
committed
Add the news to 3.13; there's still hope for backporting
1 parent 8e7d6f1 commit ef65562

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Doc/whatsnew/3.13.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,15 @@ doctest
736736
email
737737
-----
738738

739+
* Headers with embedded newlines are now quoted on output.
740+
741+
The :mod:`~email.generator` will now refuse to serialize (write) headers
742+
that are improperly folded or delimited, such that they would be parsed as
743+
multiple headers or joined with adjacent data.
744+
If you need to turn this safety feature off,
745+
set :attr:`~email.policy.Policy.verify_generated_headers`.
746+
(Contributed by Bas Bloemsaat and Petr Viktorin in :gh:`121650`.)
747+
739748
* :func:`email.utils.getaddresses` and :func:`email.utils.parseaddr` now return
740749
``('', '')`` 2-tuples in more situations where invalid email addresses are
741750
encountered instead of potentially inaccurate values. Add optional *strict*

Doc/whatsnew/3.14.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -267,15 +267,6 @@ collections.abc
267267
email
268268
-----
269269

270-
* Headers with embedded newlines are now quoted on output.
271-
272-
The :mod:`~email.generator` will now refuse to serialize (write) headers
273-
that are improperly folded or delimited, such that they would be parsed as
274-
multiple headers or joined with adjacent data.
275-
If you need to turn this safety feature off,
276-
set :attr:`~email.policy.Policy.verify_generated_headers`.
277-
(Contributed by Bas Bloemsaat and Petr Viktorin in :gh:`121650`.)
278-
279270
* Remove the *isdst* parameter from :func:`email.utils.localtime`.
280271
(Contributed by Hugo van Kemenade in :gh:`118798`.)
281272

0 commit comments

Comments
 (0)
0