Searched refs:BytesParser (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Lib/email/ |
D | __init__.py | 45 from email.parser import BytesParser 46 return BytesParser(*args, **kws).parsebytes(s) 61 from email.parser import BytesParser 62 return BytesParser(*args, **kws).parse(fp)
|
D | parser.py | 79 class BytesParser: class 126 class BytesHeaderParser(BytesParser): 128 return BytesParser.parse(self, fp, headersonly=True) 131 return BytesParser.parsebytes(self, text, headersonly=True)
|
/third_party/python/Doc/includes/ |
D | email-read-alternative.py | 9 from email.parser import BytesParser 16 msg = BytesParser(policy=policy.default).parse(fp)
|
D | email-headers.py | 2 from email.parser import BytesParser, Parser
|
/third_party/python/Doc/library/ |
D | email.parser.rst | 56 object`, string, or file, but the :class:`BytesParser` API may be more 128 The :class:`BytesParser` class, imported from the :mod:`email.parser` module, 139 .. class:: BytesParser(_class=None, *, policy=policy.compat32) 141 Create a :class:`BytesParser` instance. The *_class* and *policy* 188 Exactly like :class:`BytesParser`, except that *headersonly* 196 This class is parallel to :class:`BytesParser`, but handles string input. 211 :meth:`BytesParser.parse`. 240 equivalent to ``BytesParser().parsebytes(s)``. Optional *_class* and 241 *policy* are interpreted as with the :class:`~email.parser.BytesParser` class 253 object`. This is equivalent to ``BytesParser().parse(fp)``. *_class* and [all …]
|
D | email.generator.rst | 25 :class:`~email.parser.BytesParser` class and then regenerating the serialized
|
/third_party/python/Lib/test/test_email/ |
D | test_policy.py | 327 p = email.parser.BytesParser(policy=self.MyPolicy)
|
D | test_email.py | 3644 email.parser.BytesParser().parse(fp) 3649 bytesParser = email.parser.BytesParser 4105 m = email.parser.BytesParser().parse(testfile)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 3195 Make sure the email.parser.BytesParser TextIOWrapper is discarded after
|
/third_party/python/Doc/whatsnew/ |
D | 3.2.rst | 689 :class:`~email.parser.BytesFeedParser` and :class:`~email.parser.BytesParser`
|
/third_party/python/Misc/ |
D | HISTORY | 1586 - Issue #21476: Make sure the email.parser.BytesParser TextIOWrapper is 10873 non-ASCII bytes (parsed by a BytesParser) when doing conversion to 7bit-clean
|