Home
last modified time | relevance | path

Searched refs:BytesGenerator (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
Dtest_generator.py6 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)
Dtest_inversion.py11 from email.generator import BytesGenerator
35 g = BytesGenerator(b)
Dtest_email.py23 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/
Demail.generator.rst26 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`.
Demail.compat32-message.rst99 :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)
Demail.policy.rst95 >>> 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
Demail.contentmanager.rst169 correct, but :class:`~email.generator.BytesGenerator` does not
Demail.message.rst112 :class:`~email.generator.BytesGenerator`.
121 :class:`email.generator.BytesGenerator` for a more flexible API for
Dsmtplib.rst514 :class:`~email.generator.BytesGenerator` with ``\r\n`` as the *linesep*, and
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py39 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/
Dgenerator.py392 class BytesGenerator(Generator): class
432 super(BytesGenerator,self)._handle_text(msg)
Dmessage.py174 from email.generator import BytesGenerator
177 g = BytesGenerator(fp, mangle_from_=False, policy=policy)
/external/python/cpython3/Lib/
Dsmtplib.py959 g = email.generator.BytesGenerator(
963 g = email.generator.BytesGenerator(bytesmsg)
Dmailbox.py214 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/
Dtransfer.py761 generator_class = email_generator.BytesGenerator
/external/python/cpython3/Lib/test/
Dtest_mailbox.py115 support.patch(self, email.generator.BytesGenerator, 'flatten', raiser)
/external/python/cpython3/Doc/whatsnew/
D3.2.rst702 * A new class :class:`~email.generator.BytesGenerator` produces bytes as output,
/external/python/cpython3/Misc/
DHISTORY6652 - 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