Searched refs:BytesGenerator (Results 1 – 18 of 18) sorted by relevance
/external/python/cpython3/Lib/test/test_email/ |
D | test_generator.py | 6 from email.generator import Generator, BytesGenerator 230 genclass = BytesGenerator 241 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit')) 268 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit', 290 g = BytesGenerator(s, policy=policy.SMTPUTF8)
|
D | test_inversion.py | 11 from email.generator import BytesGenerator 35 g = BytesGenerator(b)
|
D | test_email.py | 23 from email.generator import Generator, DecodedGenerator, BytesGenerator 232 gen = email.generator.BytesGenerator(out) 329 g = BytesGenerator(s,policy=newpolicy) 1465 g = BytesGenerator(b, mangle_from_=True) 1575 g = BytesGenerator(s) 1593 g = BytesGenerator(s) 1606 g = BytesGenerator(s) 1620 g = BytesGenerator(s) 1634 g = BytesGenerator(s) 3344 g = email.generator.BytesGenerator(s) [all …]
|
/external/python/cpython3/Doc/library/ |
D | email.generator.rst | 26 byte stream using :class:`BytesGenerator` should produce output identical to 40 .. class:: BytesGenerator(outfp, mangle_from_=None, maxheaderlen=None, *, \ 43 Return a :class:`BytesGenerator` object that will write any message provided 80 at *msg* to the output file specified when the :class:`BytesGenerator` 115 Return an independent clone of this :class:`BytesGenerator` instance with 123 :class:`BytesGenerator`'s constructor. 139 to be using :class:`BytesGenerator`, and not :class:`Generator`.
|
D | email.compat32-message.rst | 99 :class:`~email.generator.BytesGenerator`.) 118 ``BytesGenerator``. 128 :class:`~email.generator.BytesGenerator` instance and use its 129 :meth:`~email.generator.BytesGenerator.flatten` method directly. 133 from email.generator import BytesGenerator 135 g = BytesGenerator(fp, mangle_from_=True, maxheaderlen=60)
|
D | email.policy.rst | 95 >>> from email.generator import BytesGenerator 101 >>> g = BytesGenerator(p.stdin, policy=msg.policy.clone(linesep='\r\n')) 113 Here we are telling :class:`~email.generator.BytesGenerator` to use the RFC 200 A ``cte_type`` value of ``8bit`` only works with ``BytesGenerator``, not
|
D | email.contentmanager.rst | 169 correct, but :class:`~email.generator.BytesGenerator` does not
|
D | email.message.rst | 112 :class:`~email.generator.BytesGenerator`. 121 :class:`email.generator.BytesGenerator` for a more flexible API for
|
D | smtplib.rst | 514 :class:`~email.generator.BytesGenerator` with ``\r\n`` as the *linesep*, and
|
/external/python/google-api-python-client/googleapiclient/ |
D | discovery.py | 39 from email.generator import BytesGenerator 41 from email.generator import Generator as BytesGenerator unknown 125 class _BytesGenerator(BytesGenerator): 126 _write_lines = BytesGenerator.write
|
/external/python/cpython3/Lib/email/ |
D | generator.py | 392 class BytesGenerator(Generator): class 432 super(BytesGenerator,self)._handle_text(msg)
|
D | message.py | 174 from email.generator import BytesGenerator 177 g = BytesGenerator(fp, mangle_from_=False, policy=policy)
|
/external/python/cpython3/Lib/ |
D | smtplib.py | 959 g = email.generator.BytesGenerator( 963 g = email.generator.BytesGenerator(bytesmsg)
|
D | mailbox.py | 214 gen = email.generator.BytesGenerator(buffer, mangle_from_, 0) 1400 orig_generator = email.generator.BytesGenerator(orig_buffer, False, 0) 1411 vis_generator = email.generator.BytesGenerator(vis_buffer, False, 0)
|
/external/python/apitools/apitools/base/py/ |
D | transfer.py | 761 generator_class = email_generator.BytesGenerator
|
/external/python/cpython3/Lib/test/ |
D | test_mailbox.py | 115 support.patch(self, email.generator.BytesGenerator, 'flatten', raiser)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.2.rst | 702 * A new class :class:`~email.generator.BytesGenerator` produces bytes as output,
|
/external/python/cpython3/Misc/ |
D | HISTORY | 6652 - Issue #15249: email's BytesGenerator now correctly mangles From lines (when 8088 - Issue #14062: BytesGenerator now correctly folds Header objects, 10725 - Issue #11019: Fixed BytesGenerator so that it correctly handles a Message 11714 - Issue #1349106: Generator (and BytesGenerator) flatten method and Header
|