HomeSort by relevance Sort by last modified time
    Searched refs:BytesGenerator (Results 1 - 8 of 8) sorted by null

  /external/python/cpython3/Lib/test/test_email/
test_inversion.py 11 from email.generator import BytesGenerator
35 g = BytesGenerator(b)
test_generator.py 6 from email.generator import Generator, BytesGenerator
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)
test_email.py 26 from email.generator import Generator, DecodedGenerator, BytesGenerator
235 gen = email.generator.BytesGenerator(out)
332 g = BytesGenerator(s,policy=newpolicy)
    [all...]
  /external/python/cpython3/Lib/email/
generator.py 7 __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)
message.py 172 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)
    [all...]
  /external/python/cpython3/Lib/
smtplib.py     [all...]
mailbox.py 214 gen = email.generator.BytesGenerator(buffer, mangle_from_, 0)
    [all...]
  /external/python/cpython3/Lib/test/
test_mailbox.py 115 support.patch(self, email.generator.BytesGenerator, 'flatten', raiser)
    [all...]

Completed in 248 milliseconds