File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -736,6 +736,15 @@ doctest
736
736
email
737
737
-----
738
738
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
+
739
748
* :func: `email.utils.getaddresses ` and :func: `email.utils.parseaddr ` now return
740
749
``('', '') `` 2-tuples in more situations where invalid email addresses are
741
750
encountered instead of potentially inaccurate values. Add optional *strict *
Original file line number Diff line number Diff line change @@ -267,15 +267,6 @@ collections.abc
267
267
email
268
268
-----
269
269
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
-
279
270
* Remove the *isdst * parameter from :func: `email.utils.localtime `.
280
271
(Contributed by Hugo van Kemenade in :gh: `118798 `.)
281
272
You can’t perform that action at this time.
0 commit comments