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 231 genclass = BytesGenerator 242 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit')) 269 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit', 291 g = BytesGenerator(s, policy=policy.SMTPUTF8) 312 g = BytesGenerator(s, policy=policy.SMTP)
|
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) 364 g = BytesGenerator(s,policy=newpolicy) 1500 g = BytesGenerator(b, mangle_from_=True) 1619 g = BytesGenerator(s) 1637 g = BytesGenerator(s) 1650 g = BytesGenerator(s) 1664 g = BytesGenerator(s) 1678 g = BytesGenerator(s) 3404 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 44 .. class:: BytesGenerator(outfp, mangle_from_=None, maxheaderlen=None, *, \ 47 Return a :class:`BytesGenerator` object that will write any message provided 84 at *msg* to the output file specified when the :class:`BytesGenerator` 119 Return an independent clone of this :class:`BytesGenerator` instance with 127 :class:`BytesGenerator`'s constructor. 143 to be using :class:`BytesGenerator`, and not :class:`Generator`.
|
D | email.compat32-message.rst | 100 :class:`~email.generator.BytesGenerator`.) 119 ``BytesGenerator``. 129 :class:`~email.generator.BytesGenerator` instance and use its 130 :meth:`~email.generator.BytesGenerator.flatten` method directly. 134 from email.generator import BytesGenerator 136 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 | 532 :class:`~email.generator.BytesGenerator` with ``\r\n`` as the *linesep*, and
|
/external/python/google-api-python-client/googleapiclient/ |
D | discovery.py | 34 from email.generator import BytesGenerator 36 from email.generator import Generator as BytesGenerator unknown 122 class _BytesGenerator(BytesGenerator): 123 _write_lines = BytesGenerator.write
|
/external/python/cpython3/Lib/email/ |
D | generator.py | 396 class BytesGenerator(Generator): class 436 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 | 963 g = email.generator.BytesGenerator( 967 g = email.generator.BytesGenerator(bytesmsg)
|
D | mailbox.py | 215 gen = email.generator.BytesGenerator(buffer, mangle_from_, 0) 1403 orig_generator = email.generator.BytesGenerator(orig_buffer, False, 0) 1414 vis_generator = email.generator.BytesGenerator(vis_buffer, False, 0)
|
/external/python/apitools/apitools/base/py/ |
D | transfer.py | 548 class MultipartBytesGenerator(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 | 704 * 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
|