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
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)
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)
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/
Demail.generator.rst26 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`.
Demail.compat32-message.rst100 :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)
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.rst532 :class:`~email.generator.BytesGenerator` with ``\r\n`` as the *linesep*, and
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py34 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/
Dgenerator.py396 class BytesGenerator(Generator): class
436 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.py963 g = email.generator.BytesGenerator(
967 g = email.generator.BytesGenerator(bytesmsg)
Dmailbox.py215 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/
Dtransfer.py548 class MultipartBytesGenerator(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.rst704 * 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