eoSr/SQrSSKJrJr SSKJrJr SSKJ r "SS5r "SS \ 5r "S S 5r "S S \ 5r g)z-A parser of RFC 2822 and MIME email messages.)Parser HeaderParser BytesParserBytesHeaderParser FeedParserBytesFeedParser)StringIO TextIOWrapper)rr)compat32c:\rSrSrS\S.SjjrS SjrS SjrSrg) rNpolicycXlX lg)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)selfrrs 2/opt/imh/python3.13/lib/python3.13/email/parser.py__init__Parser.__init__s*  c[URURS9nU(aUR5 UR S5=n(a+UR U5 UR S5=n(aM+UR 5$)a4Create 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. ri )rrr_set_headersonlyreadfeedclose)rfp headersonly feedparserdatas rparse Parser.parse)sj  DKK@   ' ' )ggdm#d# OOD !ggdm#d#!!rc4UR[U5US9$)aCreate 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)r!r rtextrs rparsestrParser.parsestr8szz(4.kzBBrr)NF) __name__ __module__ __qualname____firstlineno__r rr!r'__static_attributes__rrrrsh0 "Crrc(\rSrSrSSjrSSjrSrg)rCc.[RXS5$NT)rr!rrrs rr!HeaderParser.parseDs||Dd++rc.[RXS5$r3)rr'r%s rr'HeaderParser.parsestrGst400rr/NT)r*r+r,r-r!r'r.r/rrrrCs ,1rrc.\rSrSrSrSSjrSSjrSrg)rKc$[U0UD6Ulg)axParser 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)rargskws rrBytesParser.__init__Ms d)b) rc[USSS9nURRX5UR5 $!UR5 f=f)a;Create 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)encodingerrors)r r<r!detachr4s rr!BytesParser.parse_s=28I J ;;$$R5 IIKBIIKs 8A cXURSSS9nURRX5$)a Create 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. ASCIIrB)rD)decoder<r'r%s r parsebytesBytesParser.parsebytesns,{{7+<{={{##D66r)r<Nr))r*r+r,r-rr!rJr.r/rrrrKs*$  7rrc(\rSrSrSSjrSSjrSrg)rzc*[RXSS9$NTr$)rr!r4s rr!BytesHeaderParser.parse{s  t <rXsN 4 ,'8&0C0Cf161,7,7^D Dr