FM

//lib64/python2.7 UP

�
zfc@s�dZddlZddlmZeddd�ddd	d
dgZdd
fZdfd��YZd�Zd�Zd�Z	dfd��YZ
de
fd��YZd�Zddddddddddd d!d"d#d$d%dd&d'd(d)d*d+d,gZ
d-d.d/d0d1d2d3gZid4d56d4d66d4d76d4d86d9d:6d;d<6d=d>6d9d?6d@dA6d=dB6dCdD6d@dE6dFdG6dCdH6ZdI�ZdJ�ZdK�ZedL�ZedMkr�ddlZddlZejjejdNdO�ZejdPrejdPZneedQ�Zee�ZdRGej dS�GHdTGej!dU�GHdVGej"dW�GHdXGej"dY�GHej#dY�Z$e$dZ%ej&ee$��Z$e$rdZGej'e$�Ge%Z(e)e(d[�\Z*Z+e)e*d[�\Z,Z-d\e,e-fGe+r�d]e+GnHn	dZGeGHej.�d4Z/xej0�r8e/dP7Z/qWd^Ge/GHd_d`GHdaGe1e�GHdbekrvdcGedbGHnddekr�ndeGej2�GHdfGej3�GHdgGej4�GHndS(hs*RFC 2822 message manipulation.

Note: This is only a very rough sketch of a full RFC-822 parser; in particular
the tokenizing of addresses does not adhere to all the quoting rules.

Note: RFC 2822 is a long awaited update to RFC 822.  This module should
conform to RFC 2822, and is thus mis-named (it's not worth renaming it).  Some
effort at RFC 2822 updates have been made, but a thorough audit has not been
performed.  Consider any RFC 2822 non-conformance to be a bug.

    RFC 2822: http://www.faqs.org/rfcs/rfc2822.html
    RFC 822 : http://www.faqs.org/rfcs/rfc822.html (obsolete)

Directions for use:

To create a Message object: first open a file, e.g.:

  fp = open(file, 'r')

You can use any other legal way of getting an open file object, e.g. use
sys.stdin or call os.popen().  Then pass the open file object to the Message()
constructor:

  m = Message(fp)

This class can work with any input object that supports a readline method.  If
the input object has seek and tell capability, the rewindbody method will
work; also illegal lines will be pushed back onto the input stream.  If the
input object lacks seek but has an `unread' method that can push back a line
of input, Message will use that to push back illegal lines.  Thus this class
can be used to parse messages coming from a buffered stream.

The optional `seekable' argument is provided as a workaround for certain stdio
libraries in which tell() discards buffered data before discovering that the
lseek() system call doesn't work.  For maximum portability, you should set the
seekable argument to zero to prevent that initial \code{tell} when passing in
an unseekable object such as a file object created from a socket object.  If
it is 1 on entry -- which it is by default -- the tell() method of the open
file object is called once; if this raises an exception, seekable is reset to
0.  For other nonzero values of seekable, this test is not made.

To get the text of a particular header there are several methods:

  str = m.getheader(name)
  str = m.getrawheader(name)

where name is the name of the header, e.g. 'Subject'.  The difference is that
getheader() strips the leading and trailing whitespace, while getrawheader()
doesn't.  Both functions retain embedded whitespace (including newlines)
exactly as they are specified in the header, and leave the case of the text
unchanged.

For addresses and address lists there are functions

  realname, mailaddress = m.getaddr(name)
  list = m.getaddrlist(name)

where the latter returns a list of (realname, mailaddr) tuples.

There is also a method

  time = m.getdate(name)

which parses a Date-like field and returns a time-compatible tuple,
i.e. a tuple such as returned by time.localtime() or accepted by
time.mktime().

See the class definition for lower level access methods.

There are also some utility functions here.
i����N(twarnpy3ks=in 3.x, rfc822 has been removed in favor of the email packaget
stacklevelitMessagetAddressListt	parsedatetparsedate_tzt	mktime_tzs
s
cBseZdZdd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d	�Z
d
�Zdd�Z
e
Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zdd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(s/Represents a single RFC 2822-compliant message.icCs�|dkr=y|j�Wq=ttfk
r9d}q=Xn||_||_d|_d|_|jr�y|jj�|_Wq�tk
r�d|_q�Xn|j�|jr�y|jj�|_Wq�tk
r�d|_q�XndS(s3Initialize the class instance and read the headers.iiN(	ttelltAttributeErrortIOErrortfptseekabletNonetstartofheaderststartofbodytreadheaders(tselfR
R((s/usr/lib64/python2.7/rfc822.pyt__init__Xs(
					

	
cCs,|jstd�n|jj|j�dS(s7Rewind the file to the start of the body (if seekable).sunseekable fileN(RR	R
tseekR(R((s/usr/lib64/python2.7/rfc822.pyt
rewindbodyts	c	CsKi|_d|_g|_}d|_d}d}d}}}t|jd�rc|jj}n|jr{|jj	}nx�|r�y
|�}Wq�t
k
r�d}}d|_q�Xn|jj�}|s�d|_Pn|r|jd�r|j||_q~nd}|re|ddkre|j
|�|j|d|j�}|j�|j|<q~n(|j|�rzq~n|j|�r�Pn|j|�}|r�|j
|�|t|�dj�|j|<q~q~|dk	r�q~q~|js�d	|_n	d
|_|r||�n)|r2|jj|�n|jd|_Pq~WdS(
s�Read header lines.

        Read header lines up to the entirely blank line that terminates them.
        The (normally blank) line that ends the headers is skipped, but not
        included in the returned list.  If a non-header line ends the headers,
        (which is an error), an attempt is made to backspace over it; it is
        never included in the returned list.

        The variable self.status is set to the empty string if all went well,
        otherwise it is an error message.  The variable self.headers is a
        completely uninterpreted list of lines contained in the header (so
        printing them will reproduce the header exactly as it appears in the
        file).
        titunreadisEOF in headerssFrom s 	s
 s
No headerss%Non-header line where header expecteds
; bad seekN(tdicttunixfromtheaderststatusRthasattrR
RRRR	treadlinet
startswithtappendtstript	iscommenttislasttisheadertlenR(	Rtlstt
headerseent	firstlinetstartoflineRRtlinetx((s/usr/lib64/python2.7/rfc822.pyRzsf		
		


	

!		
cCs-|jd�}|dkr)|| j�SdS(sDetermine whether a given line is a legal header.

        This method should return the header name, suitably canonicalized.
        You may override this method in order to use Message parsing on tagged
        data in RFC 2822-like formats with special header formats.
        t:i����N(tfindtlowerR(RR'ti((s/usr/lib64/python2.7/rfc822.pyR!�scCs
|tkS(sfDetermine whether a line is a legal end of RFC 2822 headers.

        You may override this method if your application wants to bend the
        rules, e.g. to strip trailing whitespace, or to recognize MH template
        separators ('--------').  For convenience (e.g. for code reading from
        sockets) a line consisting of \r\n also matches.
        (t_blanklines(RR'((s/usr/lib64/python2.7/rfc822.pyR �scCstS(s�Determine whether a line should be skipped entirely.

        You may override this method in order to use Message parsing on tagged
        data in RFC 2822-like formats that support embedded comments or
        free-text data.
        (tFalse(RR'((s/usr/lib64/python2.7/rfc822.pyR�scCs�|j�d}t|�}g}d}x_|jD]T}|| j�|krWd}n|d j�spd}n|r2|j|�q2q2W|S(s�Find all header lines matching a given header name.

        Look through the list of headers and find all lines matching a given
        header name (and their continuation lines).  A list of the lines is
        returned, without interpretation.  If the header does not occur, an
        empty list is returned.  If the header occurs multiple times, all
        occurrences are returned.  Case is not important in the header name.
        R)ii(R+R"RtisspaceR(RtnametnR#thitR'((s/usr/lib64/python2.7/rfc822.pytgetallmatchingheaders�s			cCs�|j�d}t|�}g}d}xc|jD]X}|rU|d j�stPqtn|| j�|krtd}n|r2|j|�q2q2W|S(s�Get the first header line matching name.

        This is similar to getallmatchingheaders, but it returns only the
        first matching header (and its continuation lines).
        R)ii(R+R"RR/R(RR0R1R#R2R'((s/usr/lib64/python2.7/rfc822.pytgetfirstmatchingheader�s	cCsB|j|�}|sdS|dt|�d|d<dj|�S(s2A higher-level interface to getfirstmatchingheader().

        Return a string containing the literal text of the header but with the
        keyword stripped.  All leading, trailing and embedded whitespace is
        kept in the string, however.  Return None if the header does not
        occur.
        iiRN(R4RR"tjoin(RR0R#((s/usr/lib64/python2.7/rfc822.pytgetrawheaders
	cCs|jj|j�|�S(s
Get the header value for a name.

        This is the normal interface: it returns a stripped version of the
        header value for a given header name, or None if it doesn't exist.
        This uses the dictionary version which finds the *last* such header.
        (RtgetR+(RR0tdefault((s/usr/lib64/python2.7/rfc822.pyt	getheader"scCs�g}d}d}x�|j|�D]}}|dj�rf|rWd||j�f}q�|j�}q"|r||j|�n||jd�dj�}d}q"W|r�|j|�n|S(s	Get all values for a header.

        This returns a list of values for headers given more than once; each
        value in the result list is stripped in the same way as the result of
        getheader().  If the header is not given, return an empty list.
        Ris%s
 %sR)i(R3R/RRR*(RR0tresulttcurrentthave_headerts((s/usr/lib64/python2.7/rfc822.pyt
getheaders,s
cCs%|j|�}|r|dSdSdS(s�Get a single address from a header, as a tuple.

        An example return value:
        ('Guido van Rossum', 'guido@cwi.nl')
        iN(NN(tgetaddrlistR(RR0talist((s/usr/lib64/python2.7/rfc822.pytgetaddrEscCs�g}x�|j|�D]u}|ddkr<|j|�q|rR|jd�n|jd�}|dkr~||d}n|j|�qWdj|�}t|�}|jS(s
Get a list of addresses from a header.

        Retrieves a list of addresses from a header, where each address is a
        tuple as returned by getaddr().  Scans all named headers, so it works
        properly with multiple To: or Cc: headers for example.
        is 	s, R)iR(R3RR*R5Rtaddresslist(RR0trawthR,taddrtalladdrsta((s/usr/lib64/python2.7/rfc822.pyR?RscCs-y||}Wntk
r"dSXt|�S(s�Retrieve a date field from a header.

        Retrieves a date field from the named header, returning a tuple
        compatible with time.mktime().
        N(tKeyErrorRR(RR0tdata((s/usr/lib64/python2.7/rfc822.pytgetdatehs

cCs-y||}Wntk
r"dSXt|�S(s�Retrieve a date field from a header as a 10-tuple.

        The first 9 elements make up a tuple compatible with time.mktime(),
        and the 10th is the offset of the poster's time zone from GMT/UTC.
        N(RHRR(RR0RI((s/usr/lib64/python2.7/rfc822.pyt
getdate_tzts

cCs
t|j�S(s'Get the number of headers in a message.(R"R(R((s/usr/lib64/python2.7/rfc822.pyt__len__�scCs|j|j�S(s,Get a specific header, as from a dictionary.(RR+(RR0((s/usr/lib64/python2.7/rfc822.pyt__getitem__�scCsZ||=||j|j�<|d|}x+|jd�D]}|jj|d�q8WdS(s�Set the value of a header.

        Note: This is not a perfect inversion of __getitem__, because any
        changed headers get stuck at the end of the raw-headers list rather
        than where the altered header was.
        s: s
N(RR+tsplitRR(RR0tvaluettextR'((s/usr/lib64/python2.7/rfc822.pyt__setitem__�s
cCs�|j�}||jkrdS|j|=|d}t|�}g}d}xxtt|j��D]a}|j|}|| j�|kr�d}n|d j�s�d}n|ra|j|�qaqaWxt|�D]}|j|=q�WdS(s>Delete all occurrences of a specific header, if it is present.NR)ii(R+RR"trangeRR/Rtreversed(RR0R1R#R2R,R'((s/usr/lib64/python2.7/rfc822.pyt__delitem__�s$


		RcCsw|j�}||jkr&|j|S|d|}x+|jd�D]}|jj|d�qDW||j|<|SdS(Ns: s
(R+RRNRR(RR0R8t	lowernameRPR'((s/usr/lib64/python2.7/rfc822.pyt
setdefault�s
cCs|j�|jkS(s6Determine whether a message contains the named header.(R+R(RR0((s/usr/lib64/python2.7/rfc822.pythas_key�scCs|j�|jkS(s6Determine whether a message contains the named header.(R+R(RR0((s/usr/lib64/python2.7/rfc822.pyt__contains__�scCs
t|j�S(N(titerR(R((s/usr/lib64/python2.7/rfc822.pyt__iter__�scCs
|jj�S(s*Get all of a message's header field names.(Rtkeys(R((s/usr/lib64/python2.7/rfc822.pyR[�scCs
|jj�S(s+Get all of a message's header field values.(Rtvalues(R((s/usr/lib64/python2.7/rfc822.pyR\�scCs
|jj�S(sWGet all of a message's headers.

        Returns a list of name, value tuples.
        (Rtitems(R((s/usr/lib64/python2.7/rfc822.pyR]�scCsdj|j�S(NR(R5R(R((s/usr/lib64/python2.7/rfc822.pyt__str__�sN( t__name__t
__module__t__doc__RRRR!R RR3R4R6RR9R7R>RAR?RJRKRLRMRQRTRVRWRXRZR[R\R]R^(((s/usr/lib64/python2.7/rfc822.pyRUs:		P		
							
						
							cCs�t|�dkr|jd�rS|jd�rS|dd!jdd�jdd�S|jd�r|jd�r|dd!Sn|S(	sRemove quotes from a string.it"i����s\\s\s\"t<t>(R"Rtendswithtreplace(R=((s/usr/lib64/python2.7/rfc822.pytunquote�s#cCs|jdd�jdd�S(sAdd quotes around a string.s\s\\Rbs\"(Rf(R=((s/usr/lib64/python2.7/rfc822.pytquote�scCs't|�}|j}|sdS|dS(s3Parse an address into a (realname, mailaddr) tuple.iN(NN(RRBR(taddressRGR#((s/usr/lib64/python2.7/rfc822.pyt	parseaddr�s
	t
AddrlistClasscBs�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	dd	�Z
d
�Zd�Zd�Z
dd
�Zd�ZRS(s)Address parser class by Ben Escoto.

    To understand what this class does, it helps to have a copy of
    RFC 2822 in front of you.

    http://www.faqs.org/rfcs/rfc2822.html

    Note: this class interface is deprecated and may be removed in the future.
    Use rfc822.AddressList instead.
    cCsld|_d|_d|_d|_|j|j|j|_|jjdd�|_||_g|_dS(s�Initialize a new instance.

        `field' is an unparsed address header field, containing one or more
        addresses.
        s()<>@,:;."[]is 	s
t.RN(	tspecialstpostLWStCRtatomendsRft
phraseendstfieldtcommentlist(RRs((s/usr/lib64/python2.7/rfc822.pyRs					cCs�x||jt|j�kr~|j|j|jdkrK|jd|_q|j|jdkrz|jj|j��qPqWdS(s*Parse up to the start of the next address.s

it(N(RnR"RsRoRtRt
getcomment(R((s/usr/lib64/python2.7/rfc822.pytgotonextscCs9g}|j�}x |r4||7}|j�}qW|S(sVParse all addresses.

        Returns a list containing all of the addresses.
        (t
getaddress(RR:tad((s/usr/lib64/python2.7/rfc822.pyR?s	
cCs�g|_|j�|j}|j}|j�}|j�g}|jt|j�kr�|rPdj|j�|dfg}qPn�|j|jdkr�||_||_|j�}dj|j�|fg}nz|j|jdkr�g}t|j�}|jd7_x=|jt|j�kr�|j�|j|krm|j|jdkrm|jd7_Pn||j�}qWn�|j|jdkr�|j	�}|jr�dj|�ddj|j�d	|fg}qPdj|�|fg}nS|r%dj|j�|dfg}n+|j|j|j
krP|jd7_n|j�|jt|j�kr�|j|jd
kr�|jd7_n|S(sParse the next address.t is.@R)it;Rcs (t)t,(RtRwRnt
getphraselistR"RsR5tgetaddrspecRxtgetrouteaddrRm(Rtoldpostoldcltplistt
returnlisttaddrspectfieldlent	routeaddr((s/usr/lib64/python2.7/rfc822.pyRx(sL	
		
%		
%	3"
.cCs |j|jdkrdSd}|jd7_|j�d}x�|jt|j�kr|rs|j�d}n�|j|jdkr�|jd7_Pnr|j|jdkr�|jd7_d}nD|j|jdkr�|jd7_n|j�}|jd7_P|j�qBW|S(	s�Parse a route address (Return-path value).

        This method just skips all the route stuff and returns the addrspec.
        RcNiiRRdt@R)(RsRnRwR"t	getdomainR(Rtexpectroutetadlist((s/usr/lib64/python2.7/rfc822.pyR�bs.

		cCsFg}|j�x�|jt|j�kr�|j|jdkr`|jd�|jd7_n`|j|jdkr�|jd|j��n0|j|j|jkr�Pn|j|j��|j�qW|jt|j�ks�|j|jdkr	dj|�S|jd�|jd7_|j�dj|�|j	�S(sParse an RFC 2822 addr-spec.RliRbs"%s"R�R(
RwRnR"RsRtgetquoteRqtgetatomR5R�(Rtaslist((s/usr/lib64/python2.7/rfc822.pyR�s$

.


cCsg}x|jt|j�kr|j|j|jkrL|jd7_q	|j|jdkr{|jj|j��q	|j|jdkr�|j|j��q	|j|jdkr�|jd7_|jd�q	|j|j|jkr�Pq	|j|j	��q	Wdj
|�S(s-Get the complete domain name from an address.iRut[RlR(RnR"RsRoRtRRvtgetdomainliteralRqR�R5(Rtsdlist((s/usr/lib64/python2.7/rfc822.pyR��sicCs3|j|j|krdSdg}d}|jd7_x�|jt|j�kr%|dkr|j|j|j�d}n�|j|j|kr�|jd7_Pnk|r�|j|jdkr�|j|j��q;n6|j|jdkr�d}n|j|j|j�|jd7_q;Wdj|�S(s�Parse a header fragment delimited by special characters.

        `beginchar' is the start character for the fragment.  If self is not
        looking at an instance of `beginchar' then getdelimited returns the
        empty string.

        `endchars' is a sequence of allowable end-delimiting characters.
        Parsing stops when one of these is encountered.

        If `allowcomments' is non-zero, embedded RFC 2822 comments are allowed
        within the parsed fragment.
        RiiRus\(RsRnR"RRvR5(Rt	beginchartendcharst
allowcommentstslistRh((s/usr/lib64/python2.7/rfc822.pytgetdelimited�s(
			cCs|jddd�S(s1Get a quote-delimited fragment from self's field.Rbs"
i(R�(R((s/usr/lib64/python2.7/rfc822.pyR��scCs|jddd�S(s7Get a parenthesis-delimited fragment from self's field.Rus)
i(R�(R((s/usr/lib64/python2.7/rfc822.pyRv�scCsd|jddd�S(s!Parse an RFC 2822 domain-literal.s[%s]R�s]
i(R�(R((s/usr/lib64/python2.7/rfc822.pyR��scCs�dg}|dkr!|j}nx\|jt|j�kr|j|j|krVPn|j|j|j�|jd7_q$Wdj|�S(sParse an RFC 2822 atom.

        Optional atomends specifies a different set of end token delimiters
        (the default is to use self.atomends).  This is used e.g. in
        getphraselist() since phrase endings must not include the `.' (which
        is legal in phrases).RiN(RRqRnR"RsRR5(RRqtatomlist((s/usr/lib64/python2.7/rfc822.pyR��s	cCs�g}x�|jt|j�kr�|j|j|jkrL|jd7_q	|j|jdkrx|j|j��q	|j|jdkr�|jj|j��q	|j|j|jkr�Pq	|j|j	|j��q	W|S(s�Parse a sequence of RFC 2822 phrases.

        A phrase is a sequence of words, which are in turn either RFC 2822
        atoms or quoted-strings.  Phrases are canonicalized by squeezing all
        runs of continuous whitespace into one space.
        iRbRu(
RnR"RsRoRR�RtRvRrR�(RR�((s/usr/lib64/python2.7/rfc822.pyR~�sN(R_R`RaRRwR?RxR�RR�R�R�RvR�RR�R~(((s/usr/lib64/python2.7/rfc822.pyRk�s
					:	 		%			cBsVeZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	s@An AddressList encapsulates a list of parsed RFC 2822 addresses.cCs5tj||�|r(|j�|_n	g|_dS(N(RkRR?RB(RRs((s/usr/lib64/python2.7/rfc822.pyR	scCs
t|j�S(N(R"RB(R((s/usr/lib64/python2.7/rfc822.pyRLscCsdjtt|j��S(Ns, (R5tmaptdump_address_pairRB(R((s/usr/lib64/python2.7/rfc822.pyR^scCsStd�}|j|_x3|jD](}||jkr#|jj|�q#q#W|S(N(RRRBR(RtothertnewaddrR(((s/usr/lib64/python2.7/rfc822.pyt__add__s
cCs:x3|jD](}||jkr
|jj|�q
q
W|S(N(RBR(RR�R(((s/usr/lib64/python2.7/rfc822.pyt__iadd__scCsFtd�}x3|jD](}||jkr|jj|�qqW|S(N(RRRBR(RR�R�R(((s/usr/lib64/python2.7/rfc822.pyt__sub__&s
cCs:x3|jD](}||jkr
|jj|�q
q
W|S(N(RBtremove(RR�R(((s/usr/lib64/python2.7/rfc822.pyt__isub__.scCs|j|S(N(RB(Rtindex((s/usr/lib64/python2.7/rfc822.pyRM5s(R_R`RaRRLR^R�R�R�R�RM(((s/usr/lib64/python2.7/rfc822.pyRs								cCs2|dr&d|dd|ddS|dSdS(s4Dump a (name, address) pair in a canonicalized form.iRbs" <iRdN((tpair((s/usr/lib64/python2.7/rfc822.pyR�9s
tjantfebtmartaprtmaytjuntjultaugtseptocttnovtdectjanuarytfebruarytmarchtapriltjunetjulytaugustt	septembertoctobertnovembertdecembertmonttuetwedtthutfritsattsunitUTtUTCtGMTtZip���tASTi���tADTi���tESTtEDTi����tCSTtCDTiD���tMSTtMDTi��tPSTtPDTc
Cs�|s
dS|j�}|dddks@|dj�tkrJ|d=n8|djd�}|dkr�|d|d|d<nt|�dkr�|djd�}t|�dkr�||d}q�nt|�dkr3|d}|jd	�}|dkr#|| ||dg|d)q3|jd
�nt|�dkrIdS|d }|\}}}}}|j�}|tkr�||j�}}|tkr�dSntj	|�d}|dkr�|d}n|ddkr�|d }n|jd
�}|dkr||}}n|ddkr7|d }n|dj
�sW||}}n|ddkrt|d }n|jd
�}t|�dkr�|\}	}
d}n(t|�dkr�|\}	}
}ndSy@t|�}t|�}t|	�}	t|
�}
t|�}Wntk
r&dSXd}|j
�}|tkrRt|}n$yt|�}Wntk
runX|r�|dkr�d}
|}nd}
|
|dd|dd}n||||	|
|ddd|f
S(sQConvert a date string to a time tuple.

    Accounts for military timezones.
    ii����R}Rliit-it+RiiR)it0idii<N(R}Rl(RRNR+t	_daynamestrfindR"R*Rt_monthnamesR�tisdigittintt
ValueErrortuppert
_timezones(RIR,tstuffR=tddtmmtyyttmttztthhttmmttssttzoffsetttzsign((s/usr/lib64/python2.7/rfc822.pyRWs�*






	



!cCs$t|�}|dkr|S|d S(s&Convert a time string to a time tuple.i	N(RR(RItt((s/usr/lib64/python2.7/rfc822.pyR�scCsS|ddkr%tj|d d�Stj|d d�}||dtjSdS(sCTurn a 10-tuple as returned by parsedate_tz() into a UTC timestamp.i	ii����iN(i����(i(Rttimetmktimettimezone(RIR�((s/usr/lib64/python2.7/rfc822.pyR�scCso|dkrtj�}ntj|�}dd|d	|d
d|dd|d|d|d|dfS(s[Returns time format preferred for Internet standards.

    Sun, 06 Nov 1994 08:49:37 GMT  ; RFC 822, updated by RFC 1123

    According to RFC 1123, day and month names must always be in
    English.  If not for that, this code could use strftime().  It
    can't because strftime() honors the locale and could generate
    non-English names.
    s#%s, %02d %s %04d %02d:%02d:%02d GMTtMontTuetWedtThutFritSattSuniitJantFebtMartAprtMaytJuntJultAugtSeptOcttNovtDeciiiiiN(R�R�R�R�R�R�R�(R�R�R�R�R�R�R�R�R�R�R�R�(RR�tgmtime(ttimeval((s/usr/lib64/python2.7/rfc822.pyt
formatdate�s
t__main__tHOMEsMail/inbox/1itrsFrom:tfromsTo:ttosSubject:tsubjectsDate:tdatesParsedDate:i<s	%+03d%02ds.%02dsLines:R�iFslen =tDatesDate =s
X-Nonsenseskeys =svalues =sitems =(5RaR�twarningsRt__all__R-RRgRhRjRkRR�R�R�R�RRRRR�R_tsystostpathR5tenvirontfiletargvtopentftmRAR?R9RKRR�t	localtimetasctimethhmmsstdivmodthhmmtssthhR�RR1RR"R[R\R](((s/usr/lib64/python2.7/rfc822.pyt<module>Gs�	��	
			�2			U			

	
		
BaseHTTPServer.py22747V
BaseHTTPServer.pyc21722V
BaseHTTPServer.pyo21722V
Bastion.py5744V
Bastion.pyc6660V
Bastion.pyo6660V
CGIHTTPServer.py13089V
CGIHTTPServer.pyc11018V
CGIHTTPServer.pyo11018V
ConfigParser.py27746V
ConfigParser.pyc25213V
ConfigParser.pyo25213V
Cookie.py26538V
Cookie.pyc22658V
Cookie.pyo22658V
DocXMLRPCServer.py10768V
DocXMLRPCServer.pyc10195V
DocXMLRPCServer.pyo10086V
HTMLParser.py17171V
HTMLParser.pyc13727V
HTMLParser.pyo13422V
MimeWriter.py6482V
MimeWriter.pyc7364V
MimeWriter.pyo7364V
Queue.py8577V
Queue.pyc9424V
Queue.pyo9424V
SimpleHTTPServer.py7997V
SimpleHTTPServer.pyc8010V
SimpleHTTPServer.pyo8010V
SimpleXMLRPCServer.py25812V
SimpleXMLRPCServer.pyc22863V
SimpleXMLRPCServer.pyo22863V
SocketServer.py23948V
SocketServer.pyc24087V
SocketServer.pyo24087V
StringIO.py10662V
StringIO.pyc11480V
StringIO.pyo11480V
UserDict.py7060V
UserDict.pyc9711V
UserDict.pyo9711V
UserList.py3644V
UserList.pyc6577V
UserList.pyo6577V
UserString.py9687V
UserString.pyc14864V
UserString.pyo14864V
_LWPCookieJar.py6553V
_LWPCookieJar.pyc5434V
_LWPCookieJar.pyo5434V
_MozillaCookieJar.py5797V
_MozillaCookieJar.pyc4461V
_MozillaCookieJar.pyo4422V
__future__.py4380V
__future__.pyc4223V
__future__.pyo4223V
__phello__.foo.py64V
__phello__.foo.pyc125V
__phello__.foo.pyo125V
_abcoll.py18619V
_abcoll.pyc25682V
_abcoll.pyo25682V
_osx_support.py19100V
_osx_support.pyc11758V
_osx_support.pyo11758V
_pyio.py69630V
_pyio.pyc64701V
_pyio.pyo64701V
_strptime.py20728V
_strptime.pyc15172V
_strptime.pyo15172V
_sysconfigdata.py19732V
_sysconfigdata.pyc22968V
_sysconfigdata.pyo22968V
_threading_local.py7260V
_threading_local.pyc6373V
_threading_local.pyo6373V
_weakrefset.py5911V
_weakrefset.pyc9678V
_weakrefset.pyo9678V
abc.py7145V
abc.pyc6143V
abc.pyo6087V
aifc.py34579V
aifc.pyc30459V
aifc.pyo30459V
antigravity.py60V
antigravity.pyc203V
antigravity.pyo203V
anydbm.py2663V
anydbm.pyc2800V
anydbm.pyo2800V
argparse.py89228V
argparse.pyc64367V
argparse.pyo64202V
ast.py11805V
ast.pyc12938V
ast.pyo12938V
asynchat.py11581V
asynchat.pyc8810V
asynchat.pyo8810V
asyncore.py20943V
asyncore.pyc18893V
asyncore.pyo18893V
atexit.py1705V
atexit.pyc2203V
atexit.pyo2203V
audiodev.py7597V
audiodev.pyc8469V
audiodev.pyo8469V
base64.py11806V
base64.pyc11297V
base64.pyo11297V
bdb.py21714V
bdb.pyc19101V
bdb.pyo19101V
binhex.py14698V
binhex.pyc15460V
binhex.pyo15460V
bisect.py2595V
bisect.pyc3071V
bisect.pyo3071V
bsddb-
cProfile.py6573V
cProfile.pyc6395V
cProfile.pyo6395V
calendar.py23384V
calendar.pyc27913V
calendar.pyo27913V
cgi.py36308V
cgi.pyc33366V
cgi.pyo33366V
cgitb.py12175V
cgitb.pyc12138V
cgitb.pyo12138V
chunk.py5419V
chunk.pyc5602V
chunk.pyo5602V
cmd.py15026V
cmd.pyc14039V
cmd.pyo14039V
code.py10189V
code.pyc10334V
code.pyo10334V
codecs.py36143V
codecs.pyc36824V
codecs.pyo36824V
codeop.py5999V
codeop.pyc6597V
codeop.pyo6597V
collections.py27798V
collections.pyc26163V
collections.pyo26112V
colorsys.py3691V
colorsys.pyc3991V
colorsys.pyo3991V
commands.py2545V
commands.pyc2469V
commands.pyo2469V
compileall.py7763V
compileall.pyc7017V
compileall.pyo7017V
compiler-
config-
contextlib.py4424V
contextlib.pyc4454V
contextlib.pyo4454V
cookielib.py65486V
cookielib.pyc54725V
cookielib.pyo54537V
copy.py11533V
copy.pyc12170V
copy.pyo12078V
copy_reg.py6974V
copy_reg.pyc5167V
copy_reg.pyo5123V
crypt.py2292V
crypt.pyc2960V
crypt.pyo2960V
csv.py16708V
csv.pyc13507V
csv.pyo13507V
ctypes-
curses-
dbhash.py498V
dbhash.pyc718V
dbhash.pyo718V
decimal.py221933V
decimal.pyc172155V
decimal.pyo172155V
difflib.py82325V
difflib.pyc61898V
difflib.pyo61847V
dircache.py1126V
dircache.pyc1576V
dircache.pyo1576V
dis.py6499V
dis.pyc6228V
dis.pyo6228V
distutils-
doctest.py105095V
doctest.pyc83637V
doctest.pyo83350V
dumbdbm.py9141V
dumbdbm.pyc6746V
dumbdbm.pyo6746V
dummy_thread.py4418V
dummy_thread.pyc5394V
dummy_thread.pyo5394V
dummy_threading.py2804V
dummy_threading.pyc1285V
dummy_threading.pyo1285V
email-
encodings-
ensurepip-
filecmp.py9588V
filecmp.pyc9622V
filecmp.pyo9622V
fileinput.py13746V
fileinput.pyc14500V
fileinput.pyo14500V
fnmatch.py3315V
fnmatch.pyc3614V
fnmatch.pyo3614V
formatter.py14911V
formatter.pyc19178V
formatter.pyo19178V
fpformat.py4732V
fpformat.pyc4703V
fpformat.pyo4703V
fractions.py22390V
fractions.pyc19711V
fractions.pyo19711V
ftplib.py38555V
ftplib.pyc34939V
ftplib.pyo34939V
functools.py4806V
functools.pyc6629V
functools.pyo6629V
genericpath.py3201V
genericpath.pyc3517V
genericpath.pyo3517V
getopt.py7319V
getopt.pyc6654V
getopt.pyo6609V
getpass.py5563V
getpass.pyc4744V
getpass.pyo4744V
gettext.py22666V
gettext.pyc18004V
gettext.pyo18004V
glob.py3114V
glob.pyc2943V
glob.pyo2943V
gzip.py19028V
gzip.pyc15236V
gzip.pyo15236V
hashlib.py7841V
hashlib.pyc6919V
hashlib.pyo6919V
heapq.py18295V
heapq.pyc14564V
heapq.pyo14564V
hmac.py4588V
hmac.pyc4542V
hmac.pyo4542V
hotshot-
htmlentitydefs.py18056V
htmlentitydefs.pyc6367V
htmlentitydefs.pyo6367V
htmllib.py12869V
htmllib.pyc20309V
htmllib.pyo20309V
httplib.py53306V
httplib.pyc38724V
httplib.pyo38540V
idlelib-
ihooks.py18986V
ihooks.pyc21372V
ihooks.pyo21372V
imaplib.py48366V
imaplib.pyc45011V
imaplib.pyo42310V
imghdr.py3541V
imghdr.pyc4838V
imghdr.pyo4838V
importlib-
imputil.py25764V
imputil.pyc15623V
imputil.pyo15445V
inspect.py43008V
inspect.pyc40229V
inspect.pyo40229V
io.py3322V
io.pyc3589V
io.pyo3589V
json-
keyword.py1995V
keyword.pyc2105V
keyword.pyo2105V
lib-dynload-
lib2to3-
linecache.py4027V
linecache.pyc3272V
linecache.pyo3272V
locale.py102834V
locale.pyc56610V
locale.pyo56610V
logging-
macpath.py6289V
macpath.pyc7681V
macpath.pyo7681V
macurl2path.py2731V
macurl2path.pyc2244V
macurl2path.pyo2244V
mailbox.py81240V
mailbox.pyc76717V
mailbox.pyo76670V
mailcap.py8404V
mailcap.pyc7955V
mailcap.pyo7955V
markupbase.py14643V
markupbase.pyc9267V
markupbase.pyo9071V
md5.py358V
md5.pyc378V
md5.pyo378V
mhlib.py33434V
mhlib.pyc33777V
mhlib.pyo33777V
mimetools.py7168V
mimetools.pyc8201V
mimetools.pyo8201V
mimetypes.py21028V
mimetypes.pyc18489V
mimetypes.pyo18489V
mimify.py15020V
mimify.pyc12001V
mimify.pyo12001V
modulefinder.py24461V
modulefinder.pyc19127V
modulefinder.pyo19045V
multifile.py4820V
multifile.pyc5420V
multifile.pyo5378V
multiprocessing-
mutex.py1878V
mutex.pyc2516V
mutex.pyo2516V
netrc.py5888V
netrc.pyc4714V
netrc.pyo4714V
new.py610V
new.pyc862V
new.pyo862V
nntplib.py21470V
nntplib.pyc21044V
nntplib.pyo21044V
ntpath.py19429V
ntpath.pyc13129V
ntpath.pyo13129V
nturl2path.py2419V
nturl2path.pyc1815V
nturl2path.pyo1815V
numbers.py10319V
numbers.pyc14012V
numbers.pyo14012V
opcode.py5474V
opcode.pyc6145V
opcode.pyo6145V
optparse.py61203V
optparse.pyc53894V
optparse.pyo53811V
os.py25910V
os.pyc25689V
os.pyo25689V
os2emxpath.py4635V
os2emxpath.pyc4525V
os2emxpath.pyo4525V
pdb.doc7914V
pdb.py46098V
pdb.pyc43669V
pdb.pyo43669V
pickle.py45489V
pickle.pyc38560V
pickle.pyo38364V
pickletools.py74523V
pickletools.pyc57032V
pickletools.pyo56171V
pipes.py9582V
pipes.pyc9308V
pipes.pyo9308V
pkgutil.py20243V
pkgutil.pyc18959V
pkgutil.pyo18959V
plat-linux2-
platform.py52801V
platform.pyc37971V
platform.pyo37971V
plistlib.py15810V
plistlib.pyc19963V
plistlib.pyo19877V
popen2.py8416V
popen2.pyc9025V
popen2.pyo8983V
poplib.py12824V
poplib.pyc13345V
poplib.pyo13345V
posixfile.py8003V
posixfile.pyc7652V
posixfile.pyo7652V
posixpath.py14293V
posixpath.pyc11462V
posixpath.pyo11462V
pprint.py11777V
pprint.pyc10194V
pprint.pyo10017V
profile.py22781V
profile.pyc16456V
profile.pyo16209V
pstats.py26712V
pstats.pyc25013V
pstats.pyo25013V
pty.py5058V
pty.pyc4966V
pty.pyo4966V
py_compile.py5936V
py_compile.pyc6428V
py_compile.pyo6428V
pyclbr.py13388V
pyclbr.pyc9651V
pyclbr.pyo9651V
pydoc.py95739V
pydoc.pyc92342V
pydoc.pyo92278V
pydoc_data-
quopri.py6968V
quopri.pyc6574V
quopri.pyo6574V
random.py32457V
random.pyc25704V
random.pyo25704V
re.py13423V
re.pyc13413V
re.pyo13413V
repr.py4296V
repr.pyc5385V
repr.pyo5385V
rexec.py20148V
rexec.pyc23807V
rexec.pyo23807V
rfc822.py33542V
rfc822.pyc31813V
rfc822.pyo31813V
rlcompleter.py5991V
rlcompleter.pyc6078V
rlcompleter.pyo6078V
robotparser.py7695V
robotparser.pyc8003V
robotparser.pyo8003V
runpy.py11081V
runpy.pyc8803V
runpy.pyo8803V
sched.py5088V
sched.pyc4994V
sched.pyo4994V
sets.py19050V
sets.pyc16895V
sets.pyo16895V
sgmllib.py17884V
sgmllib.pyc15436V
sgmllib.pyo15436V
sha.py393V
sha.pyc421V
sha.pyo421V
shelve.py8178V
shelve.pyc10256V
shelve.pyo10256V
shlex.py11164V
shlex.pyc7558V
shlex.pyo7558V
shutil.py19871V
shutil.pyc19259V
shutil.pyo19259V
site-packages-
site.py21296V
site.pyc20786V
site.pyo20786V
smtpd.py18542V
smtpd.pyc15883V
smtpd.pyo15883V
smtplib.py32134V
smtplib.pyc30304V
smtplib.pyo30304V
sndhdr.py5973V
sndhdr.pyc7361V
sndhdr.pyo7361V
socket.py20615V
socket.pyc16152V
socket.pyo16066V
sqlite3-
sre.py384V
sre.pyc519V
sre.pyo519V
sre_compile.py19823V
sre_compile.pyc12560V
sre_compile.pyo12404V
sre_constants.py7197V
sre_constants.pyc6195V
sre_constants.pyo6195V
sre_parse.py30700V
sre_parse.pyc21156V
sre_parse.pyo21156V
ssl.py39310V
ssl.pyc32716V
ssl.pyo32716V
stat.py1842V
stat.pyc2751V
stat.pyo2751V
statvfs.py898V
statvfs.pyc620V
statvfs.pyo620V
string.py21548V
string.pyc20459V
string.pyo20459V
stringold.py12449V
stringold.pyc12549V
stringold.pyo12549V
stringprep.py13522V
stringprep.pyc14487V
stringprep.pyo14415V
struct.py82V
struct.pyc239V
struct.pyo239V
subprocess.py50520V
subprocess.pyc32398V
subprocess.pyo32398V
sunau.py17222V
sunau.pyc18394V
sunau.pyo18394V
sunaudio.py1399V
sunaudio.pyc1987V
sunaudio.pyo1987V
symbol.py2057V
symbol.pyc3026V
symbol.pyo3026V
symtable.py7437V
symtable.pyc11786V
symtable.pyo11655V
sysconfig.py22852V
sysconfig.pyc17818V
sysconfig.pyo17818V
tabnanny.py11339V
tabnanny.pyc8247V
tabnanny.pyo8247V
tarfile.py90655V
tarfile.pyc76193V
tarfile.pyo76193V
telnetlib.py27036V
telnetlib.pyc23154V
telnetlib.pyo23154V
tempfile.py19547V
tempfile.pyc20344V
tempfile.pyo20344V
test-
textwrap.py17280V
textwrap.pyc12097V
textwrap.pyo12005V
this.py1002V
this.pyc1220V
this.pyo1220V
threading.py47377V
threading.pyc42726V
threading.pyo40552V
timeit.py12791V
timeit.pyc12183V
timeit.pyo12183V
toaiff.py3142V
toaiff.pyc3106V
toaiff.pyo3106V
token.py2922V
token.pyc3816V
token.pyo3816V
tokenize.py17483V
tokenize.pyc14505V
tokenize.pyo14449V
trace.py29891V
trace.pyc22793V
trace.pyo22730V
traceback.py11285V
traceback.pyc11679V
traceback.pyo11679V
tty.py879V
tty.pyc1317V
tty.pyo1317V
types.py2094V
types.pyc2725V
types.pyo2725V
unittest-
urllib.py60228V
urllib.pyc51241V
urllib.pyo51146V
urllib2.py52541V
urllib2.pyc47302V
urllib2.pyo47207V
urlparse.py20461V
urlparse.pyc18015V
urlparse.pyo18015V
user.py1627V
user.pyc1724V
user.pyo1724V
uu.py6697V
uu.pyc4390V
uu.pyo4390V
uuid.py23530V
uuid.pyc23366V
uuid.pyo23250V
warnings.py14823V
warnings.pyc13510V
warnings.pyo12721V
wave.py18582V
wave.pyc20013V
wave.pyo19869V
weakref.py14830V
weakref.pyc16441V
weakref.pyo16441V
webbrowser.py22725V
webbrowser.pyc19750V
webbrowser.pyo19705V
whichdb.py3379V
whichdb.pyc2241V
whichdb.pyo2241V
wsgiref-
wsgiref.egg-info187V
xdrlib.py6069V
xdrlib.pyc9902V
xdrlib.pyo9902V
xml-
xmllib.py34865V
xmllib.pyc26848V
xmllib.pyo26848V
xmlrpclib.py52136V
xmlrpclib.pyc44106V
xmlrpclib.pyo43922V
zipfile.py59477V
zipfile.pyc42137V
zipfile.pyo42137V
MyMelon - Digital Marketing and Creative Agency in Delhi, India
Skip to content Skip to footer

MyMelon Home Page

Bored Of Old School Strategies?

Conventional strategies do no justice to complex modern problems. Bringing in kickass blueprints to escalate your exclusive ideas to the growth trajectory.

MyMelon Home Page (1)

Falling In Love With Your Problems

Your problems are our play! You get to decide which ‘solutions’ feel like an astounding fuck yes!

Discover pitch-perfect marketing strategies to deliver complex ideas into simplified solutions. 

Diversity in our problem solving approach makes us who we are!

You Do You

For us every client and their offerings are unique. We offer tailored and hot-off-the-press strategies to produce a unique brand identity. Listening, evolving, and promoting your articles of faith is what makes our work kickass and compelling too!

#
Award
Type
Project
01
Best Project
Art Business
Business Style
2017
02
Best Design
Creative Work
Best Designers
2018
03
Best Concept
New Strategy
Branding Concept
2019
04
Best Picture
Visualization
Small Figures
2020

Our Inspirations

Vivekanand

Arise, awake, and stop not until the goal is achieved

Dr APJ Abdul Kalam

Creativity is seeing the same thing but thinking differently

Christopher Columbus

By prevailing over all obstacles one may unfailingly arrive at his chosen goal.

JRD Tata

Uncommon thinkers reuse what common thinkers refuse.

Lead The Way With Your New Digital Partners

Waiting to get viral? Don’t worry we’ve got your back!

Leading your way through business acumen and business strategies tailored to your needs.

Handholding you since your first lightbulb moment to making a mark in the industry through unique formulas.  Bringing unexpected things to the table is in our DNA.

Producing Tailored Solutions

One solution for multiple solutions is hard to swallow. Creating tailored solutions for your unique problems

Setting Benchmarks

Doesn’t carving a path for others give the best kick ever?

Making A Difference

You can’t wait for a case study. You will be too late!

Blogs

Contact Us

We work hard and then succeed on purpose.

We are constantly looking for a needle in a haystack and connecting to get the deal to happen!

If you've loved our idea and want to take the road less traveled, reach out to us on …….

Before you take the sure-shots of success, let's take some shots of vodka!

    Polscy gracze coraz częściej wybierają kasyno bez weryfikacji przy wypłacie bez ukrytych opłat, aby cieszyć się szybkim dostępem do gier i przejrzystymi warunkami wypłaty wygranych. Tego typu platformy stawiają na uproszczoną rejestrację, nowoczesne metody płatności oraz jasne zasady dotyczące transakcji. Przed rozpoczęciem gry warto zapoznać się z opiniami innych użytkowników, aby ocenić jakość obsługi i niezawodność serwisu.

    Jeśli chcesz znaleźć rzetelne opinie oraz porównać najlepsze platformy, casino Revolut Pay może pomóc Ci podjąć świadomą decyzję. Znajdziesz tam recenzje użytkowników, szczegóły bonusów oraz informacje o wpłatach i wypłatach w kasynach akceptujących Revolut.

    People searching for gerçek canlı casino usually mean live-dealer roulette, blackjack, baccarat, or game-show tables streamed from a studio with a real dealer, rather than an RNG-only game. To assess authenticity, verify the operator’s licence directly with the regulator, check the named game provider and studio, look for clear rules and table limits, inspect withdrawal terms, and confirm that the service is legal in your jurisdiction; a foreign licence does not automatically make an operator legal in Türkiye.

    [canlı casino lisans rehberi](https://guvenilircanlicasinos.com/)[gerçek krupiyeli oyunlar](https://www.livecasinos.com/tr/) [guvenilircanlicasinos](https://guvenilircanlicasinos.com/)

    Many Dutch players now look for beste online casino iDEAL to benefit from secure iDEAL deposits, low minimum stakes, and quick withdrawals. These casinos integrate trusted Dutch payment infrastructure with streamlined cashout systems, ideal for users who value speed, simplicity, and transparent transactions. By consulting authentic player reviews, gamblers can identify sites that consistently deliver rapid payouts and a seamless gaming experience.

    Gli online casinos with bancoposta sono principalmente operatori che accettano la carta Visa o Mastercard collegata al conto BancoPosta per depositi e, in alcuni casi, prelievi. Tra i nomi più citati in Italia figurano 888casino, SNAI, LeoVegas, Planetwin365, Gioco Digitale, Sisal e StarCasinò, con depositi minimi spesso tra 10€ e 20€ e limiti massimi che possono arrivare a diverse migliaia di euro. Per utilizzare la carta, di solito basta selezionare Visa o Mastercard alla cassa, inserire i dati della carta BancoPosta e completare la verifica 3D Secure; i prelievi possono tornare sulla stessa carta o sul conto tramite bonifico, con tempi tipici da 24 ore a 3–5 giorni lavorativi.

    Gracze poszukujący sprawdzonych platform często wybierają kasyno niemcy, które oferuje przejrzyste zasady wypłat i bezpieczne metody płatności. Przed rejestracją warto porównać limity transakcji, czas realizacji przelewów oraz dostępne opcje wpłat, aby uniknąć niepotrzebnych opóźnień. Opinie innych użytkowników mogą pomóc ocenić rzetelność obsługi, jakość gier i ogólny komfort korzystania z platformy.

    Oferty określane jako zagraniczne kasyna bonus bez depozytu mogą obejmować darmowe spiny lub niewielkie środki promocyjne przyznawane po rejestracji i weryfikacji konta. Przed skorzystaniem z promocji należy dokładnie sprawdzić wymagania obrotu, maksymalną wypłatę, czas ważności bonusu oraz ograniczenia dla użytkowników z Polski. Zagraniczna licencja nie legalizuje automatycznie działalności hazardowej w Polsce, dlatego warto zweryfikować operatora w oficjalnych źródłach i grać odpowiedzialnie .