Lines Matching refs:policy
23 assuming the same non-transforming :mod:`~email.policy` is used for both. That
41 policy=None)
51 defaults to the value of the :attr:`~email.policy.Policy.mangle_from_`
52 setting of the *policy* (which is ``True`` for the
53 :data:`~email.policy.compat32` policy and ``False`` for all others).
61 lines according to the *policy* settings.
63 If *policy* is specified, use that policy to control message generation. If
64 *policy* is ``None`` (the default), use the policy associated with the
67 :mod:`email.policy` for details on what *policy* controls.
71 .. versionchanged:: 3.3 Added the *policy* keyword.
74 and *maxheaderlen* parameters is to follow the policy.
83 If the :mod:`~email.policy` option :attr:`~email.policy.Policy.cte_type`
108 default), use the value specified in the *policy*.
110 .. XXX: flatten should take a *policy* keyword.
142 policy=None)
152 defaults to the value of the :attr:`~email.policy.Policy.mangle_from_`
153 setting of the *policy* (which is ``True`` for the
154 :data:`~email.policy.compat32` policy and ``False`` for all others).
162 lines according to the *policy* settings.
164 If *policy* is specified, use that policy to control message generation. If
165 *policy* is ``None`` (the default), use the policy associated with the
168 :mod:`email.policy` for details on what *policy* controls.
170 .. versionchanged:: 3.3 Added the *policy* keyword.
173 and *maxheaderlen* parameters is to follow the policy.
182 If the :mod:`~email.policy` option :attr:`~email.policy.Policy.cte_type`
201 default), use the value specified in the *policy*.
203 .. XXX: flatten should take a *policy* keyword.
238 fmt=None, *, policy=None)
273 ``unixfrom``, and that there are no :mod:`policy` settings calling for
275 :attr:`~email.policy.Policy.refold_source` must be ``none``, which is