Searched defs:BytesGenerator (Results 1 - 5 of 5) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
H A Dtest_inversion.py11 from email.generator import BytesGenerator namespace
35 g = BytesGenerator(b)
H A Dtest_generator.py6 from email.generator import Generator, BytesGenerator namespace
177 genclass = BytesGenerator
188 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit'))
215 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit',
237 g = BytesGenerator(s, policy=policy.SMTPUTF8)
H A Dtest_email.py26 from email.generator import Generator, DecodedGenerator, BytesGenerator namespace
235 gen = email.generator.BytesGenerator(out)
332 g = BytesGenerator(s,policy=newpolicy)
1468 g = BytesGenerator(b, mangle_from_=True)
1578 g = BytesGenerator(s)
1596 g = BytesGenerator(s)
1609 g = BytesGenerator(s)
1623 g = BytesGenerator(s)
1637 g = BytesGenerator(s)
3347 g = email.generator.BytesGenerator(
[all...]
/external/python/cpython3/Lib/email/
H A Dgenerator.py7 __all__ = ['Generator', 'DecodedGenerator', 'BytesGenerator']
92 # has already been converted (to bytes in the BytesGenerator) and
143 # BytesGenerator overrides this to return BytesIO.
147 # BytesGenerator overrides this to encode strings to bytes.
394 class BytesGenerator(Generator):
434 super(BytesGenerator,self)._handle_text(msg)
392 class BytesGenerator(Generator): class in inherits:Generator
H A Dmessage.py172 header. 'policy' is passed to the BytesGenerator instance used to
176 from email.generator import BytesGenerator
179 g = BytesGenerator(fp, mangle_from_=False, policy=policy)
174 from email.generator import BytesGenerator namespace

Completed in 1685 milliseconds