/opt/alt/python37/lib64/python3.7/email/__pycache__
NameSizeModeActions
base64mime.cpython-37.opt-1.pyc32320644editdlrm
base64mime.cpython-37.opt-2.pyc14550644editdlrm
base64mime.cpython-37.pyc32320644editdlrm
charset.cpython-37.opt-1.pyc114890644editdlrm
charset.cpython-37.opt-2.pyc51540644editdlrm
charset.cpython-37.pyc115260644editdlrm
contentmanager.cpython-37.opt-1.pyc72920644editdlrm
contentmanager.cpython-37.opt-2.pyc72920644editdlrm
contentmanager.cpython-37.pyc72920644editdlrm
encoders.cpython-37.opt-1.pyc16610644editdlrm
encoders.cpython-37.opt-2.pyc13100644editdlrm
encoders.cpython-37.pyc16610644editdlrm
errors.cpython-37.opt-1.pyc61880644editdlrm
errors.cpython-37.opt-2.pyc46460644editdlrm
errors.cpython-37.pyc61880644editdlrm
feedparser.cpython-37.opt-1.pyc104740644editdlrm
feedparser.cpython-37.opt-2.pyc88090644editdlrm
feedparser.cpython-37.pyc106260644editdlrm
generator.cpython-37.opt-1.pyc124970644editdlrm
generator.cpython-37.opt-2.pyc88010644editdlrm
generator.cpython-37.pyc124970644editdlrm
header.cpython-37.opt-1.pyc163830644editdlrm
header.cpython-37.opt-2.pyc107590644editdlrm
header.cpython-37.pyc163830644editdlrm
headerregistry.cpython-37.opt-1.pyc213840644editdlrm
headerregistry.cpython-37.opt-2.pyc156130644editdlrm
headerregistry.cpython-37.pyc214380644editdlrm
iterators.cpython-37.opt-1.pyc19290644editdlrm
iterators.cpython-37.opt-2.pyc13070644editdlrm
iterators.cpython-37.pyc19290644editdlrm
message.cpython-37.opt-1.pyc379910644editdlrm
message.cpython-37.opt-2.pyc213990644editdlrm
message.cpython-37.pyc379910644editdlrm
parser.cpython-37.opt-1.pyc57440644editdlrm
parser.cpython-37.opt-2.pyc27240644editdlrm
parser.cpython-37.pyc57440644editdlrm
policy.cpython-37.opt-1.pyc96520644editdlrm
policy.cpython-37.opt-2.pyc34350644editdlrm
policy.cpython-37.pyc96520644editdlrm
quoprimime.cpython-37.opt-1.pyc76610644editdlrm
quoprimime.cpython-37.opt-2.pyc41840644editdlrm
quoprimime.cpython-37.pyc76610644editdlrm
utils.cpython-37.opt-1.pyc94640644editdlrm
utils.cpython-37.opt-2.pyc61350644editdlrm
utils.cpython-37.pyc94640644editdlrm
_encoded_words.cpython-37.opt-1.pyc56050644editdlrm
_encoded_words.cpython-37.opt-2.pyc37190644editdlrm
_encoded_words.cpython-37.pyc56050644editdlrm
_header_value_parser.cpython-37.opt-1.pyc769220644editdlrm
_header_value_parser.cpython-37.opt-2.pyc603710644editdlrm
_header_value_parser.cpython-37.pyc769700644editdlrm
_parseaddr.cpython-37.opt-1.pyc124160644editdlrm
_parseaddr.cpython-37.opt-2.pyc94560644editdlrm
_parseaddr.cpython-37.pyc124160644editdlrm
_policybase.cpython-37.opt-1.pyc148470644editdlrm
_policybase.cpython-37.opt-2.pyc60000644editdlrm
_policybase.cpython-37.pyc148470644editdlrm
__init__.cpython-37.opt-1.pyc16880644editdlrm
__init__.cpython-37.opt-2.pyc10790644editdlrm
__init__.cpython-37.pyc16880644editdlrm
Edit: /opt/alt/python37/lib64/python3.7/email/__pycache__/parser.cpython-37.pyc (5744B)
B  f@sdZddddddgZddlmZmZdd lmZmZdd lm Z Gd ddZ Gd dde Z Gd ddZ Gddde Z dS)z-A parser of RFC 2822 and MIME email messages.Parser HeaderParser BytesParserBytesHeaderParser FeedParserBytesFeedParser)StringIO TextIOWrapper)rr)compat32c@s0eZdZd edddZd ddZd dd ZdS) rN)policycCs||_||_dS)aParser of RFC 2822 and MIME email messages. Creates an in-memory object tree representing the email message, which can then be manipulated and turned over to a Generator to return the textual representation of the message. The string must be formatted as a block of RFC 2822 headers and header continuation lines, optionally preceded by a `Unix-from' header. The header block is terminated either by the end of the string or by a blank line. _class is the class to instantiate for new message objects when they must be created. This class must have a constructor that can take zero arguments. Default is Message.Message. The policy keyword specifies a policy object that controls a number of aspects of the parser's operation. The default policy maintains backward compatibility. N)_classr )selfr r r1/opt/alt/python37/lib64/python3.7/email/parser.py__init__szParser.__init__FcCsDt|j|jd}|r|x|d}|s.P||qW|S)a\Create a message structure from the data in a file. Reads all the data from the file and returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it parses the entire contents of the file. )r i )rr r Z_set_headersonlyreadZfeedclose)r fp headersonlyZ feedparserdatarrrparse)s z Parser.parsecCs|jt||dS)a-Create a message structure from a string. Returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it parses the entire contents of the file. )r)rr)r textrrrrparsestr;szParser.parsestr)N)F)F)__name__ __module__ __qualname__r rrrrrrrrs c@s eZdZdddZdddZdS) rTcCst||dS)NT)rr)r rrrrrrHszHeaderParser.parsecCst||dS)NT)rr)r rrrrrrKszHeaderParser.parsestrN)T)T)rrrrrrrrrrGs c@s(eZdZddZd ddZd ddZdS) rcOst|||_dS)aParser of binary RFC 2822 and MIME email messages. Creates an in-memory object tree representing the email message, which can then be manipulated and turned over to a Generator to return the textual representation of the message. The input must be formatted as a block of RFC 2822 headers and header continuation lines, optionally preceded by a `Unix-from' header. The header block is terminated either by the end of the input or by a blank line. _class is the class to instantiate for new message objects when they must be created. This class must have a constructor that can take zero arguments. Default is Message.Message. N)rparser)r argskwrrrrQszBytesParser.__init__FcCs,t|ddd}z|j||S|XdS)acCreate a message structure from the data in a binary file. Reads all the data from the file and returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it parses the entire contents of the file. asciisurrogateescape)encodingerrorsN)r rrdetach)r rrrrrrcszBytesParser.parsecCs|jddd}|j||S)a2Create a message structure from a byte string. Returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it parses the entire contents of the file. ASCIIr )r")decoderr)r rrrrr parsebytesrszBytesParser.parsebytesN)F)F)rrrrrr&rrrrrOs c@s eZdZdddZdddZdS) rTcCstj||ddS)NT)r)rr)r rrrrrrszBytesHeaderParser.parsecCstj||ddS)NT)r)rr&)r rrrrrr&szBytesHeaderParser.parsebytesN)T)T)rrrrr&rrrrr~s N)__doc____all__iorr Zemail.feedparserrrZemail._policybaser rrrrrrrrs 7/