Home
last modified time | relevance | path

Searched refs:cte_type (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Lib/email/
Darchitecture.rst119 :meth:`~email.policy.Policy.cte_type` Policy control determines whether or
202 ``cte_type=7bit`` or ``8bit``. Returns a string.
204 At some point there will also be a ``cte_type=unicode``, and for that
212 ``cte_type=7bit``, and get turned back into bytes for ``cte_type=8bit``.
215 At some point there will also be a ``cte_type=unicode``, and for that
D_policybase.py164 cte_type = '8bit' variable in Policy
337 folded = self._fold(name, value, sanitize=self.cte_type=='7bit')
Dpolicy.py200 folded = self._fold(name, value, refold_binary=self.cte_type=='7bit')
Dcontentmanager.py154 if policy.cte_type == '8bit':
Dgenerator.py431 if _has_surrogates(msg._payload) and not self.policy.cte_type=='7bit':
/external/python/cpython3/Lib/test/test_email/
Dtest_generator.py242 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit'))
269 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit',
/external/python/cpython3/Doc/library/
Demail.policy.rst182 .. attribute:: cte_type
200 A ``cte_type`` value of ``8bit`` only works with ``BytesGenerator``, not
203 ``cte_type=8bit``, it will act as if ``cte_type`` is ``7bit``.
502 The same as :meth:`fold` if :attr:`~Policy.cte_type` is ``7bit``, except
505 If :attr:`~Policy.cte_type` is ``8bit``, non-ASCII binary data is
636 each resulting line to the ``max_line_length``. If ``cte_type`` is
Demail.generator.rst87 If the :mod:`~email.policy` option :attr:`~email.policy.Policy.cte_type`
92 If ``cte_type`` is ``7bit``, convert the bytes with the high bit set as
186 If the :mod:`~email.policy` option :attr:`~email.policy.Policy.cte_type`
Demail.headerregistry.rst82 *policy*. A :attr:`~email.policy.Policy.cte_type` of ``8bit`` will be
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1222 cte_type ``7bit`` or ``8bit``. ``8bit`` applies only to a
/external/python/cpython3/Misc/
DHISTORY7537 to cte_type.