/usr/lib/python2.6/email
NameSizeModeActions
mime/-0755rm
base64mime.py57920644editdlrm
base64mime.pyc53360644editdlrm
base64mime.pyo53360644editdlrm
charset.py157910644editdlrm
charset.pyc134140644editdlrm
charset.pyo133650644editdlrm
encoders.py23020644editdlrm
encoders.pyc24080644editdlrm
encoders.pyo24080644editdlrm
errors.py16280644editdlrm
errors.pyc34990644editdlrm
errors.pyo34990644editdlrm
feedparser.py206060644editdlrm
feedparser.pyc112680644editdlrm
feedparser.pyo111710644editdlrm
generator.py140620644editdlrm
generator.pyc103460644editdlrm
generator.pyo103460644editdlrm
header.py217380644editdlrm
header.pyc134900644editdlrm
header.pyo134210644editdlrm
iterators.py22020644editdlrm
iterators.pyc23830644editdlrm
iterators.pyo23830644editdlrm
message.py304460644editdlrm
message.pyc285610644editdlrm
message.pyo285610644editdlrm
parser.py33000644editdlrm
parser.pyc38370644editdlrm
parser.pyo38370644editdlrm
quoprimime.py108390644editdlrm
quoprimime.pyc89090644editdlrm
quoprimime.pyo89090644editdlrm
utils.py98190644editdlrm
utils.pyc90360644editdlrm
utils.pyo90360644editdlrm
_parseaddr.py149810644editdlrm
_parseaddr.pyc136490644editdlrm
_parseaddr.pyo136490644editdlrm
__init__.py28560644editdlrm
__init__.pyc28640644editdlrm
__init__.pyo28640644editdlrm
Edit: /usr/lib/python2.6/email/quoprimime.pyo (8909B)
Ñò «gc@s5dZddddddddd d d d d dgZddkZddklZddklZdZdZdZ ei dƒZ ei dƒZ d„Z d„Zd„Zd„Zdd„Zd„Zd„Zd ed!ed"„Zed!ed#„ZeZeZed$„ZeZeZd%„Zd&„ZdS('sFQuoted-printable content transfer encoding per RFCs 2045-2047. This module handles the content transfer encoding method defined in RFC 2045 to encode US ASCII-like 8-bit data called `quoted-printable'. It is used to safely encode text that is in a character set similar to the 7-bit US ASCII character set, but that includes some 8-bit characters that are normally not allowed in email bodies or headers. Quoted-printable is very space-inefficient for encoding binary files; use the email.base64mime module for that instead. This module provides an interface to encode and decode both headers and bodies with quoted-printable encoding. RFC 2045 defines a method for including character set information in an `encoded-word' in a header. This method is commonly used for 8-bit real names in To:/From:/Cc: etc. fields, as well as Subject: lines. This module does not do the line wrapping or end-of-line character conversion necessary for proper internationalized headers; it only does dumb encoding and decoding. To deal with the various line wrapping issues, use the email.header module. t body_decodet body_encodetbody_quopri_checktbody_quopri_lentdecodet decodestringtencodet encodestringt header_decodet header_encodetheader_quopri_checktheader_quopri_lentquotetunquoteiÿÿÿÿN(t hexdigits(tfix_eolss s is[^-a-zA-Z0-9!*+/ ]s [^ !-<>-~\t]cCstti|ƒƒS(sBReturn True if the character should be escaped with header quopri.(tboolthqretmatch(tc((s&/usr/lib/python2.6/email/quoprimime.pyR ?scCstti|ƒƒS(s@Return True if the character should be escaped with body quopri.(RtbqreR(R((s&/usr/lib/python2.6/email/quoprimime.pyRDscCsCd}x6|D].}ti|ƒo|d7}q |d7}q W|S(s?Return the length of str when it is encoded with header quopri.iii(RR(tstcountR((s&/usr/lib/python2.6/email/quoprimime.pyR IscCsCd}x6|D].}ti|ƒo|d7}q |d7}q W|S(s=Return the length of str when it is encoded with body quopri.iii(RR(tstrRR((s&/usr/lib/python2.6/email/quoprimime.pyRTstcCsn|p|i|iƒƒnMt|dƒt|ƒ|jo|dc||7