Searched refs:compat32 (Results 1 – 22 of 22) sorted by relevance
/external/python/cpython3/Doc/library/ |
D | email.mime.rst | 33 .. 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 …]
|
D | email.parser.rst | 73 .. 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 …]
|
D | email.rst | 92 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
|
D | email.policy.rst | 40 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
|
D | email.generator.rst | 57 :data:`~email.policy.compat32` policy and ``False`` for all others). 158 :data:`~email.policy.compat32` policy and ``False`` for all others).
|
D | email.compat32-message.rst | 3 :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
|
D | email.message.rst | 200 Using the standard (non-``compat32``) policies, the returned value is an
|
/external/python/cpython3/Lib/email/ |
D | parser.py | 13 from email._policybase import compat32 17 def __init__(self, _class=None, *, policy=compat32):
|
D | policy.py | 7 from email._policybase import Policy, Compat32, compat32, _extend_docstrings
|
D | feedparser.py | 27 from email._policybase import compat32 139 def __init__(self, _factory=None, *, policy=compat32):
|
D | _policybase.py | 374 compat32 = Compat32() variable
|
D | message.py | 17 from email._policybase import Policy, compat32 120 def __init__(self, policy=compat32):
|
/external/python/cpython3/Lib/test/test_email/ |
D | __init__.py | 6 from email._policybase import compat32 29 policy = compat32
|
D | test_generator.py | 152 (policy.compat32, True), 168 g = self.genclass(s, policy=policy.compat32.clone(max_line_length=None))
|
D | test_policy.py | 48 email.policy.compat32: make_defaults(compat32_defaults, {}),
|
D | test_email.py | 2125 self.assertIs(m.policy, email.policy.compat32) 3436 self.assertIs(m.policy, email.policy.compat32)
|
/external/python/cpython3/Lib/email/mime/ |
D | base.py | 26 policy = email.policy.compat32
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b1.rst | 355 New mangle_from policy option for email, default True for compat32, but
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1208 :data:`~email.policy.compat32`. 1238 mypolicy = compat32.clone(linesep='\r\n')
|
D | 3.6.rst | 1038 :attr:`email.policy.compat32` policy this is :class:`~email.message.Message`,
|
D | 3.5.rst | 1101 :attr:`~email.policy.compat32` and ``False`` for all other policies.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 2414 - Issue #20476: If a non-compat32 policy is used with any of the email parsers,
|