Home
last modified time | relevance | path

Searched refs:compat32 (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython3/Doc/library/
Demail.mime.rst33 .. class:: MIMEBase(_maintype, _subtype, *, policy=compat32, **_params)
50 :class:`compat32 <email.policy.Compat32>` policy) it will be passed to
78 *, policy=compat32, **_params)
98 Optional *policy* argument defaults to :class:`compat32 <email.policy.Compat32>`.
111 *, policy=compat32, **_params)
131 Optional *policy* argument defaults to :class:`compat32 <email.policy.Compat32>`.
142 *, policy=compat32, **_params)
165 Optional *policy* argument defaults to :class:`compat32 <email.policy.Compat32>`.
176 *, policy=compat32, **_params)
199 Optional *policy* argument defaults to :class:`compat32 <email.policy.Compat32>`.
[all …]
Demail.parser.rst73 .. class:: BytesFeedParser(_factory=None, *, policy=policy.compat32)
82 :class:`compat32 <email.policy.Compat32>` policy, which maintains backward
114 .. class:: FeedParser(_factory=None, *, policy=policy.compat32)
139 .. class:: BytesParser(_class=None, *, policy=policy.compat32)
186 .. class:: BytesHeaderParser(_class=None, *, policy=policy.compat32)
194 .. class:: Parser(_class=None, *, policy=policy.compat32)
224 .. class:: HeaderParser(_class=None, *, policy=policy.compat32)
237 .. function:: message_from_bytes(s, _class=None, *, policy=policy.compat32)
250 policy=policy.compat32)
262 .. function:: message_from_string(s, _class=None, *, policy=policy.compat32)
[all …]
Demail.rst92 class, cover the legacy :data:`~email.policy.compat32` API that deals much more
94 :data:`~email.policy.compat32` API does *not* hide the details of the RFCs from
97 are still using the :mod:`~email.policy.compat32` API for backward
124 email.compat32-message.rst
Demail.policy.rst40 policy, via its corresponding pre-defined instance :const:`compat32`. This
65 policy objects, including :const:`compat32`. This includes certain hook
133 >>> compat_SMTP = policy.compat32.clone(linesep='\r\n')
134 >>> compat_strict = policy.compat32.clone(raise_on_defect=True)
140 >>> policy100 = policy.compat32.clone(max_line_length=100)
141 >>> policy80 = policy.compat32.clone(max_line_length=80)
588 :const:`compat32`, that is used as the default policy. Thus the default
642 .. data:: compat32
Demail.generator.rst57 :data:`~email.policy.compat32` policy and ``False`` for all others).
158 :data:`~email.policy.compat32` policy and ``False`` for all others).
Demail.compat32-message.rst3 :mod:`email.message.Message`: Representing an email message using the :data:`~email.policy.compat32
55 .. class:: Message(policy=compat32)
59 of the message. If *policy* is not set, use the :class:`compat32
Demail.message.rst200 Using the standard (non-``compat32``) policies, the returned value is an
/external/python/cpython3/Lib/email/
Dparser.py13 from email._policybase import compat32
17 def __init__(self, _class=None, *, policy=compat32):
Dpolicy.py7 from email._policybase import Policy, Compat32, compat32, _extend_docstrings
Dfeedparser.py27 from email._policybase import compat32
139 def __init__(self, _factory=None, *, policy=compat32):
D_policybase.py374 compat32 = Compat32() variable
Dmessage.py17 from email._policybase import Policy, compat32
120 def __init__(self, policy=compat32):
/external/python/cpython3/Lib/test/test_email/
D__init__.py6 from email._policybase import compat32
29 policy = compat32
Dtest_generator.py152 (policy.compat32, True),
168 g = self.genclass(s, policy=policy.compat32.clone(max_line_length=None))
Dtest_policy.py48 email.policy.compat32: make_defaults(compat32_defaults, {}),
Dtest_email.py2126 self.assertIs(m.policy, email.policy.compat32)
3459 self.assertIs(m.policy, email.policy.compat32)
/external/python/cpython3/Lib/email/mime/
Dbase.py26 policy = email.policy.compat32
/external/musl/android/
Dgenerate_bp.py192 compat32 = SourceSet(dirs=COMPAT32_SRC_DIRS) variable
214 bp.PrintDefaults('libc_musl_compat32_sources', compat32)
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b1.rst355 New mangle_from policy option for email, default True for compat32, but
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1208 :data:`~email.policy.compat32`.
1238 mypolicy = compat32.clone(linesep='\r\n')
D3.6.rst1038 :attr:`email.policy.compat32` policy this is :class:`~email.message.Message`,
D3.5.rst1101 :attr:`~email.policy.compat32` and ``False`` for all other policies.
/external/python/cpython3/Misc/
DHISTORY2414 - Issue #20476: If a non-compat32 policy is used with any of the email parsers,