[Python-checkins] CVS: python/dist/src/Lib mimetools.py,1.21,1.22 mimetypes.py,1.11,1.12 mimify.py,1.16,1.17
Skip Montanaro
montanaro@users.sourceforge.net
Thu, 25 Jan 2001 07:29:24 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv10247/Lib
Modified Files:
mimetools.py mimetypes.py mimify.py
Log Message:
added a few more __all__ lists
test___all__.py: fail silently in check_all if the module can't be imported
Index: mimetools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mimetools.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** mimetools.py 2001/01/14 23:47:14 1.21
--- mimetools.py 2001/01/25 15:29:22 1.22
***************
*** 6,9 ****
--- 6,11 ----
import tempfile
+ __all__ = ["Message","choose_boundary","encode","decode","copyliteral",
+ "copybinary"]
class Message(rfc822.Message):
Index: mimetypes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mimetypes.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** mimetypes.py 2000/02/10 17:17:13 1.11
--- mimetypes.py 2001/01/25 15:29:22 1.12
***************
*** 28,31 ****
--- 28,33 ----
import urllib
+ __all__ = ["guess_type","guess_extension","read_mime_types","init"]
+
knownfiles = [
"/usr/local/etc/httpd/conf/mime.types",
Index: mimify.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mimify.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** mimify.py 2001/01/14 23:47:14 1.16
--- mimify.py 2001/01/25 15:29:22 1.17
***************
*** 30,33 ****
--- 30,35 ----
import re, string
+ __all__ = ["mimify","unmimify","mime_encode_header","mime_decode_header"]
+
qp = re.compile('^content-transfer-encoding:\\s*quoted-printable', re.I)
base64_re = re.compile('^content-transfer-encoding:\\s*base64', re.I)