N
O5c       sN  d  Z  k Z k Z d d f Z d f  d     YZ d   Z d   Z d   Z d f  d	     YZ d
 d d d d d d d d d d d g Z	 d d d d d d d g Z
 h  d d <d d <d d  <d d! <d" d# <d$ d% <d& d' <d" d( <d) d* <d& d+ <d, d- <d) d. <d/ d0 <d, d1 <Z d2   Z d3   Z d4   Z e d5 j ok Z k Z e i i e i d6 d7  Z e i d8 o e i d8 Z n e e d9  Z e e  Z d: Ge i d;  GHd< Ge i d=  GHd> Ge i d?  GHd@ Ge i dA  GHe i dA  Z e oq dB Ge i e d8   Ge d8 Z  e! e  dC  \ Z" Z# e! e" dC  \ Z$ Z% dD e$ e% f Ge# o dE e# Gn Hn
 dB Ge& GHe i'   d Z( x e i)   o e( d8 Z( qWdF Ge( GHdG dH GHdI Ge* e  GHe i+ dJ  o dK Ge dJ GHn e i+ dL  o n dM Ge i,   GHdN Ge i-   GHdO Ge i.   GHn dP S(Q   sm  RFC-822 message manipulation class.

XXX 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.

Directions for use:

To create a Message object: first open a file, e.g.:
  fp = open(file, 'r')
(or 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)

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) and
  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.
s   
s   
s   Messagec      s   d  Z  d d  Z d   Z d   Z d   Z d   Z d   Z d   Z d	   Z d
   Z	 d   Z
 d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z RS(   s.   Represents a single RFC-822-compliant message.c    s   | |  _  | |  _ t |  _ t |  _ |  i o9 y |  i  i   |  _ Wn t j
 o d |  _ n Xn |  i   |  i o9 y |  i  i   |  _ Wn t j
 o d |  _ n Xn d S(   s3   Initialize the class instance and read the headers.i    N(	   s   fps   selfs   seekables   Nones   startofheaderss   startofbodys   tells   IOErrors   readheaders(   s   selfs   fps   seekables0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   __init__3 s      				


i   c    s/   |  i o t d  n |  i i |  i  d S(   s7   Rewind the file to the start of the body (if seekable).s   unseekable fileN(   s   selfs   seekables   IOErrors   fps   seeks   startofbody(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys
   rewindbodyH s     c    s  h  |  _ d |  _ g  |  _ } d |  _ d } d } xd o|  i i	   } | o d |  _ Pn | o | d  d j o |  i | |  _ q7 n d } |  i |  o Pn| o | d d j oE | i |  |  i | d t i |  } t i |  |  i | <n d	 | j oT | i |  t i | d	  } t i | |   } t i | | d  |  i | <nX | o d
 |  _ n
 d |  _ |  i o |  i i t |  d  n |  i d |  _ Pq7 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).
        s    i   s   EOF in headersi   s   From i    s    	s   
 s   :s
   No headerss
   Bad headers
   ; bad seekN(   s   selfs   dicts   unixfroms   headerss   lists   statuss
   headerseens	   firstlines   fps   readlines   lines   islasts   appends   strings   strips   xs   finds   is   lowers   seekables   seeks   len(   s   selfs   lists
   headerseens	   firstlines   lines   xs   is0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   readheadersN sF     			 	"	
c    s   | t j Sd S(   s  Determine whether a line is a legal end of RFC-822 headers.
        
        You may override this method if your application wants
        to bend the rules, e.g. to strip trailing whitespace,
        or to recognise MH template separators ('--------').
        For convenience (e.g. for code reading from sockets) a
        line consisting of 
 also matches.                
        N(   s   lines   _blanklines(   s   selfs   lines0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   islast s     c    s   t  i |  d } t |  } g  } d } xm |  i d r` } t  i | |   | j o
 d } n | d  t  i
 j o
 d } n | o | i |  n q7 W| Sd 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.
        s   :i    i   N(   s   strings   lowers   names   lens   ns   lists   hits   selfs   headerss   lines
   whitespaces   append(   s   selfs   names   ns   lists   hits   lines0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getallmatchingheaders s    
  

c    s   t  i |  d } t |  } g  } d } xs |  i d rf } | o | d  t  i
 j o Pn n% t  i | |   | j o
 d } n | o | i |  n q7 W| Sd 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).
        s   :i    i   N(   s   strings   lowers   names   lens   ns   lists   hits   selfs   headerss   lines
   whitespaces   append(   s   selfs   names   ns   lists   hits   lines0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getfirstmatchingheader s      	
c    sO   |  i |  } | o t Sn | d t |  d | d <t i | d  Sd S(   sA  A 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.
        i    i   s    N(   s   selfs   getfirstmatchingheaders   names   lists   Nones   lens   strings
   joinfields(   s   selfs   names   lists0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getrawheader s     c    s6   y |  i t i |  SWn t j
 o t Sn Xd S(   s  Get the header value for a name.
        
        This is the normal interface: it return 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.
        N(   s   selfs   dicts   strings   lowers   names   KeyErrors   None(   s   selfs   names0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys	   getheader s
     c    s0   |  i |  } | o | d Sn t t f Sd S(   s   Get a single address from a header, as a tuple.
        
        An example return value:
        ('Guido van Rossum', 'guido@cwi.nl')
        i    N(   s   selfs   getaddrlists   names   alists   None(   s   selfs   names   alists0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getaddr s
     c    sB   y |  | } Wn t j
 o g  Sn Xt |  } | i   Sd S(   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().
        N(   s   selfs   names   datas   KeyErrors   AddrlistClasss   as   getaddrlist(   s   selfs   names   datas   as0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getaddrlist s     	c    s6   y |  | } Wn t j
 o t Sn Xt |  Sd 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(   s   selfs   names   datas   KeyErrors   Nones	   parsedate(   s   selfs   names   datas0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getdate s     	c    s6   y |  | } Wn t j
 o t Sn Xt |  Sd 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(   s   selfs   names   datas   KeyErrors   Nones   parsedate_tz(   s   selfs   names   datas0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys
   getdate_tzs     	c    s   t  |  i  Sd S(   s'   Get the number of headers in a message.N(   s   lens   selfs   dict(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   __len__s     c    s   |  i t i |  Sd S(   s,   Get a specific header, as from a dictionary.N(   s   selfs   dicts   strings   lowers   name(   s   selfs   names0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   __getitem__s     c    s  t  i |  } |  i i |  o d Sn |  i | =| d } t |  } g  } d } x t
 t |  i   d rm } |  i | } t  i | |   | j o
 d } n | d  t  i j o
 d } n | o | i |  n qo W| i   x | d r } |  i | =q Wd S(   s>   Delete all occurrences of a specific header, if it is present.Ns   :i    i   (   s   strings   lowers   names   selfs   dicts   has_keys   lens   ns   lists   hits   ranges   headerss   is   lines
   whitespaces   appends   reverse(   s   selfs   names   ns   lists   hits   is   lines0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   __delitem__s,     

 


	 c    s   |  i i t i |   Sd S(   s6   Determine whether a message contains the named header.N(   s   selfs   dicts   has_keys   strings   lowers   name(   s   selfs   names0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   has_key5s     c    s   |  i i   Sd S(   s*   Get all of a message's header field names.N(   s   selfs   dicts   keys(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   keys9s     c    s   |  i i   Sd S(   s+   Get all of a message's header field values.N(   s   selfs   dicts   values(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   values=s     c    s   |  i i   Sd S(   s_   Get all of a message's headers.
        
        Returns a list of name, value tuples.
        N(   s   selfs   dicts   items(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   itemsAs     (   s   __doc__s   __init__s
   rewindbodys   readheaderss   islasts   getallmatchingheaderss   getfirstmatchingheaders   getrawheaders	   getheaders   getaddrs   getaddrlists   getdates
   getdate_tzs   __len__s   __getitem__s   __delitem__s   has_keys   keyss   valuess   items(    s0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   Message0 s(    		=															c    s   t  |   d j oj |  d d j o |  d d j o |  d d !Sn |  d d j o |  d d j o |  d d !Sn n |  Sd S(   s   Remove quotes from a string.i   i    s   "s   <s   >N(   s   lens   str(   s   strs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   unquoteQs     ##c    s<   d t  i t  i t  i t  i |  d  d  d  d  Sd S(   s   Add quotes around a string.s   "%s"s   \s   \\s   "s   \"N(   s   strings   joins   splits   str(   s   strs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   quote[s     c    s:   t  |   } | i   } | o t t f Sn	 | d Sd S(   s3   Parse an address into a (realname, mailaddr) tuple.i    N(   s   AddrlistClasss   addresss   as   getaddrlists   lists   None(   s   addresss   as   lists0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys	   parseaddrfs     s   AddrlistClassc      s   d  Z  d   Z d   Z d   Z d   Z d   Z d   Z d   Z d	 d  Z d
   Z	 d   Z
 d   Z d   Z d   Z RS(   s   Address parser class by Ben Escoto.
    
    To understand what this class does, it helps to have a copy of
    RFC-822 in front of you.
    c    sT   d |  _ d |  _ d |  _ d |  _ |  i |  i |  i |  _ | |  _ g  |  _ d S(   s   Initialize a new instance.
        
        `field' is an unparsed address header field, containing
        one or more addresses.
        s   ()<>@,:;."[]i    s    	s   N(   s   selfs   specialss   poss   LWSs   CRs   atomendss   fields   commentlist(   s   selfs   fields0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   __init__ws     					c    s   x |  i t |  i  j  oh |  i |  i |  i d j o |  i d |  _ n3 |  i |  i d j o |  i i |  i    n Pq Wd S(   s*   Parse up to the start of the next address.s   
i   s   (N(   s   selfs   poss   lens   fields   LWSs   commentlists   appends
   getcomment(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   gotonexts      c    s-   |  i   } | o | |  i   Sn g  Sd S(   s^   Parse all addresses.
        
        Returns a list containing all of the addresses.
        N(   s   selfs
   getaddresss   ads   getaddrlist(   s   selfs   ads0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getaddrlists
     c    sq  g  |  _ |  i   |  i } |  i } |  i   } |  i   g  } |  i t	 |  i
  j o. | o# t i |  i  | d f g } n n|  i
 |  i d j o= | |  _ | |  _ |  i   } t i |  i  | f g } n@|  i
 |  i d j o g  } |  i d |  _ xd |  i t	 |  i
  j  oJ |  i   |  i
 |  i d j o |  i d |  _ Pn | |  i   } qWn |  i
 |  i d j of |  i   } |  i o4 t i |  d t i |  i  d | f g } n t i |  | f g } n+ | o# t i |  i  | d f g } n |  i   |  i t	 |  i
  j  o |  i
 |  i d	 j o |  i d |  _ n | Sd
 S(   s   Parse the next address.i    s   .@s   :i   s   ;s   <s    (s   )s   ,N(   s   selfs   commentlists   gotonexts   poss   oldposs   oldcls   getphraselists   plists
   returnlists   lens   fields   strings   joins   getaddrspecs   addrspecs
   getaddresss   getrouteaddrs	   routeaddr(   s   selfs   oldposs   oldcls   plists
   returnlists   addrspecs	   routeaddrs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys
   getaddresssJ     	
		
'		 

4#
0c    s>  |  i |  i d j o d Sn d } |  i d |  _ |  i   t } x |  i t |  i  j  o | o |  i   d } n |  i |  i d j o |  i d |  _ Pn |  i |  i d j o |  i d |  _ d } nO |  i |  i d j o |  i d |  _ d } n |  i
   } |  i d |  _ P|  i   qH W| Sd S(   s   Parse a route address (Return-path value).
        
        This method just skips all the route stuff and returns the addrspec.
        s   <Ni    i   s   >s   @s   :(   s   selfs   fields   poss   expectroutes   gotonexts   Nones   adlists   lens	   getdomains   expectaddrspecs   getaddrspec(   s   selfs   expectroutes   adlists   expectaddrspecs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getrouteaddrs4     
 



c    s\  g  } |  i   x |  i t |  i  j  o |  i |  i d j o! | i d  |  i d |  _ na |  i |  i d j o | i |  i    n3 |  i |  i |  i j o Pn | i |  i	    |  i   q W|  i t |  i  j p |  i |  i d j o t
 i | d  Sn | i d  |  i d |  _ |  i   t
 i | d  |  i   Sd S(   s   Parse an RFC-822 addr-spec.s   .i   s   "s   @s    N(   s   aslists   selfs   gotonexts   poss   lens   fields   appends   getquotes   atomendss   getatoms   strings   joins	   getdomain(   s   selfs   aslists0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getaddrspecs(     
 0
c    s2  g  } x|  i t |  i  j  o |  i |  i |  i j o |  i d |  _ n |  i |  i d j o |  i i |  i    n |  i |  i d j o | i |  i	    nk |  i |  i d j o! |  i d |  _ | i d  n3 |  i |  i |  i
 j o Pn | i |  i    q	 Wt i | d  Sd S(   s-   Get the complete domain name from an address.i   s   (s   [s   .s    N(   s   sdlists   selfs   poss   lens   fields   LWSs   commentlists   appends
   getcomments   getdomainliterals   atomendss   getatoms   strings   join(   s   selfs   sdlists0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys	   getdomain	s"      c    sJ  |  i |  i | j o d Sn d g } d } |  i d |  _ x |  i t |  i  j  o | d j o! | i |  i |  i  d } n |  i |  i | j o |  i d |  _ Pnn | o |  i |  i d j o | i |  i
    n9 |  i |  i d j o
 d } n | i |  i |  i  |  i d |  _ qA Wt i | d  Sd 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-822 comments
        are allowed within the parsed fragment.
        s    i    i   s   (s   \N(   s   selfs   fields   poss	   beginchars   slists   quotes   lens   appends   endcharss   allowcommentss
   getcomments   strings   join(   s   selfs	   beginchars   endcharss   allowcommentss   slists   quotes0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getdelimiteds*     	 

i   c    s   |  i d d d  Sd S(   s1   Get a quote-delimited fragment from self's field.s   "s   "i    N(   s   selfs   getdelimited(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getquote@s     c    s   |  i d d d  Sd S(   s7   Get a parenthesis-delimited fragment from self's field.s   (s   )i   N(   s   selfs   getdelimited(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys
   getcommentDs     c    s   |  i d d d  Sd S(   s    Parse an RFC-822 domain-literal.s   [s   ]i    N(   s   selfs   getdelimited(   s   selfs0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getdomainliteralHs     c    s   d g } xd |  i t |  i  j  oJ |  i |  i |  i j o Pn | i |  i |  i  |  i d |  _ q Wt i | d  Sd S(   s   Parse an RFC-822 atom.s    i   N(	   s   atomlists   selfs   poss   lens   fields   atomendss   appends   strings   join(   s   selfs   atomlists0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getatomLs     	 c    s   g  } x |  i t |  i  j  o |  i |  i |  i j o |  i d |  _ n |  i |  i d j o | i |  i    nd |  i |  i d j o |  i i |  i	    n3 |  i |  i |  i
 j o Pn | i |  i    q	 W| Sd S(   s   Parse a sequence of RFC-822 phrases.
        
        A phrase is a sequence of words, which are in turn either
        RFC-822 atoms or quoted-strings.
        i   s   "s   (N(   s   plists   selfs   poss   lens   fields   LWSs   appends   getquotes   commentlists
   getcomments   atomendss   getatom(   s   selfs   plists0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   getphraselistXs      (   s   __doc__s   __init__s   gotonexts   getaddrlists
   getaddresss   getrouteaddrs   getaddrspecs	   getdomains   getdelimiteds   getquotes
   getcomments   getdomainliterals   getatoms   getphraselist(    s0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   AddrlistClassps    				
	7	!		$				s   Jans   Febs   Mars   Aprs   Mays   Juns   Juls   Augs   Seps   Octs   Novs   Decs   Mons   Tues   Weds   Thus   Fris   Sats   Suni    s   UTs   UTCs   GMTs   Zi  s   ASTi,  s   ADTi  s   ESTs   EDTiX  s   CSTs   CDTi  s   MSTs   MDTi   s   PSTs   PDTc  
  s(  t  i |   }  |  d d d j p |  d t j o |  d =n t |   d j o? t  i |  d d  } t |  d j o | |  d }  n n t |   d j oZ |  d } t  i | d  } | d j o  | |  | | d g |  d )n |  i	 d  n t |   d	 j  o t
 Sn |  d	  }  |  ] } } } } } | t j o> | | | | | f \ } } } } } | t j o t
 Sn n t i |  d } t  i | d
  } t |  d j o | ] }	 }
 d } n | ] }	 }
 } yO t  i |  } t  i |  } t  i |	  }	 t  i |
  }
 t  i |  } Wn t  i j
 o t
 Sn Xt
 } t  i |  } t i |  o t | } n- y t  i |  } Wn t  i j
 o n X| oG | d j  o d } | } n d } | | d d | d d } n | | | |	 |
 | d d d | f
 } | Sd S(   sU   Convert a date string to a time tuple.
    
    Accounts for military timezones.
    i    i   s   ,i   s   -i   s   +s    i   s   :i   s   0id   i  i<   N(   s   strings   splits   datas	   _daynamess   lens   stuffs   ss   finds   is   appends   Nones   dds   mms   yys   tms   tzs   _monthnamess   indexs   splitfieldss   thhs   tmms   tsss   atois
   atoi_errors   tzoffsets   uppers
   _timezoness   has_keys   tzsigns   tuple(   s   datas   stuffs   ss   is   dds   mms   yys   tms   tzs   thhs   tmms   tsss   tzoffsets   tzsigns   tuples0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   parsedate_tzsh     '
 
$
	"$c    s9   t  |   } t |  t f   j o | d  Sn | Sd S(   s&   Convert a time string to a time tuple.i	   N(   s   parsedate_tzs   datas   ts   type(   s   datas   ts0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys	   parsedates
     c    s_   |  d t j o t i |  d  d f  Sn. t i |  d  d f  } | |  d t i Sd S(   sQ  Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp.
    
    Minor glitch: this first interprets the first 8 elements as a
    local time and then compensates for the timezone difference;
    this may yield a slight error around daylight savings time
    switch dates.  Not enough to worry about for common use.
    
    i	   i   i   i    N(   s   datas   Nones   times   mktimes   ts   timezone(   s   datas   ts0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys	   mktime_tzs
     s   __main__s   HOMEs   Mail/inbox/1i   s   rs   From:s   froms   To:s   tos   Subject:s   subjects   Date:s   dates   ParsedDate:i<   s	   %+03d%02ds   .%02ds   Lines:s   -iF   s   len =s   Dates   Date =s
   X-Nonsenses   keys =s   values =s   items =N(/   s   __doc__s   strings   times   _blankliness   Messages   unquotes   quotes	   parseaddrs   AddrlistClasss   _monthnamess	   _daynamess
   _timezoness   parsedate_tzs	   parsedates	   mktime_tzs   __name__s   syss   oss   paths   joins   environs   files   argvs   opens   fs   ms   getaddrs   getaddrlists	   getheaders
   getdate_tzs   dates   asctimes   hhmmsss   divmods   hhmms   sss   hhs   mms   Nones
   rewindbodys   ns   readlines   lens   has_keys   keyss   valuess   items(    s0   /var/tmp/python-root/usr/lib/python1.5/rfc822.pys   ?' sj    "	
		
 *		@		  	
 		  