b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 172.67.192.52 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / email /
Filename/usr/lib64/python2.6/email/parser.pyo
Size3.76 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 09:41
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc@s{dZddgZddkZddklZddklZddklZdd
d��YZ de fd ��YZ
dS( s-A parser of RFC 2822 and MIME email messages.tParsert HeaderParseriÿÿÿÿN(tStringIO(t
FeedParser(tMessagecBs)eZd�Zed�Zed�ZRS(cOst|�djo/d|jotd��n|d|d<nt|�djo/d|jotd��n|d|d<nt|�djotd��nd|jo|d|_|d=n
t|_d|jotid td�|d=n|otd
��nd S( sÌParser 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 preceeded 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.
it_classs(Multiple values for keyword arg '_class'iitstricts(Multiple values for keyword arg 'strict'sToo many argumentss-'strict' argument is deprecated (and ignored)sUnexpected keyword argumentsN(tlent TypeErrorRRtwarningstwarntDeprecationWarning(tselftargstkws((s$/usr/lib64/python2.6/email/parser.pyt__init__s(



  
 
 cCset|i�}|o|i�nx4to,|id�}|pPn|i|�q'W|i�S(s\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.
i (RRt_set_headersonlytTruetreadtfeedtclose(R tfpt headersonlyt
feedparsertdata((s$/usr/lib64/python2.6/email/parser.pytparse8scCs|it|�d|�S(s-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 ttextR((s$/usr/lib64/python2.6/email/parser.pytparsestrJs(t__name__t
__module__RtFalseRR(((s$/usr/lib64/python2.6/email/parser.pyRs & cBs eZed�Zed�ZRS(cCsti||t�S(N(RRR(R RR((s$/usr/lib64/python2.6/email/parser.pyRWscCsti||t�S(N(RRR(R RR((s$/usr/lib64/python2.6/email/parser.pyRZs(RRRRR(((s$/usr/lib64/python2.6/email/parser.pyRVs (( t__doc__t__all__R t cStringIORtemail.feedparserRt
email.messageRRR(((s$/usr/lib64/python2.6/email/parser.pyt<module>s  E