[Python-checkins] CVS: python/dist/src/Lib gettext.py,1.10,1.11 gopherlib.py,1.7,1.8 gzip.py,1.20,1.21 htmlentitydefs.py,1.6,1.7 htmllib.py,1.15,1.16 httplib.py,1.31,1.32 ihooks.py,1.11,1.12 imaplib.py,1.22,1.23
Skip Montanaro
montanaro@users.sourceforge.net
Tue, 23 Jan 2001 07:35:07 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv30038/Lib
Modified Files:
gettext.py gopherlib.py gzip.py htmlentitydefs.py htmllib.py
httplib.py ihooks.py imaplib.py
Log Message:
added a few more __all__ lists
fixed typo in ihooks docstring
Index: gettext.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/gettext.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** gettext.py 2001/01/14 23:47:14 1.10
--- gettext.py 2001/01/23 15:35:04 1.11
***************
*** 49,52 ****
--- 49,55 ----
from errno import ENOENT
+ __all__ = ["bindtextdomain","textdomain","gettext","dgettext",
+ "find","translation","install","Catalog"]
+
_default_localedir = os.path.join(sys.prefix, 'share', 'locale')
Index: gopherlib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/gopherlib.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** gopherlib.py 2000/03/28 21:45:45 1.7
--- gopherlib.py 2001/01/23 15:35:05 1.8
***************
*** 3,6 ****
--- 3,8 ----
import string
+ __all__ = ["send_selector","send_query"]
+
# Default selector, host and port
DEF_SELECTOR = '1/'
Index: gzip.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/gzip.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** gzip.py 2001/01/14 23:47:14 1.20
--- gzip.py 2001/01/23 15:35:05 1.21
***************
*** 10,13 ****
--- 10,15 ----
import __builtin__
+ __all__ = ["GzipFile","open"]
+
FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16
Index: htmlentitydefs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/htmlentitydefs.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** htmlentitydefs.py 2001/01/14 23:47:14 1.6
--- htmlentitydefs.py 2001/01/23 15:35:05 1.7
***************
*** 1,4 ****
--- 1,6 ----
"""HTML character entity references."""
+ __all__ = ["entitydefs"]
+
entitydefs = {
'AElig': '\306', # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1
Index: htmllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/htmllib.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** htmllib.py 2001/01/14 23:47:14 1.15
--- htmllib.py 2001/01/23 15:35:05 1.16
***************
*** 10,13 ****
--- 10,14 ----
from formatter import AS_IS
+ __all__ = ["HTMLParser"]
class HTMLParser(SGMLParser):
Index: httplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/httplib.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** httplib.py 2001/01/15 14:34:20 1.31
--- httplib.py 2001/01/23 15:35:05 1.32
***************
*** 75,78 ****
--- 75,80 ----
from StringIO import StringIO
+ __all__ = ["HTTP"]
+
HTTP_PORT = 80
HTTPS_PORT = 443
Index: ihooks.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/ihooks.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** ihooks.py 2001/01/14 23:47:14 1.11
--- ihooks.py 2001/01/23 15:35:05 1.12
***************
*** 43,47 ****
functionality along those lines.
! If a module mporter class supports dotted names, its import_module()
must return a different value depending on whether it is called on
behalf of a "from ... import ..." statement or not. (This is caused
--- 43,47 ----
functionality along those lines.
! If a module importer class supports dotted names, its import_module()
must return a different value depending on whether it is called on
behalf of a "from ... import ..." statement or not. (This is caused
***************
*** 58,61 ****
--- 58,63 ----
import string
+ __all__ = ["BasicModuleLoader","Hooks","ModuleLoader","FancyModuleLoader",
+ "BasicModuleImporter","ModuleImporter","install","uninstall"]
VERBOSE = 0
Index: imaplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/imaplib.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** imaplib.py 2001/01/14 23:47:14 1.22
--- imaplib.py 2001/01/23 15:35:05 1.23
***************
*** 19,22 ****
--- 19,25 ----
import binascii, re, socket, string, time, random, sys
+ __all__ = ["IMAP4","error","abort","readonly","Internaldate2tuple",
+ "Int2AP","ParseFlags","Time2InternalDate"]
+
# Globals