import struct
from errno import ENOENT
+__all__ = ["bindtextdomain","textdomain","gettext","dgettext",
+ "find","translation","install","Catalog"]
+
_default_localedir = os.path.join(sys.prefix, 'share', 'locale')
import string
+__all__ = ["send_selector","send_query"]
+
# Default selector, host and port
DEF_SELECTOR = '1/'
DEF_HOST = 'gopher.micro.umn.edu'
import zlib
import __builtin__
+__all__ = ["GzipFile","open"]
+
FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16
READ, WRITE = 1, 2
"""HTML character entity references."""
+__all__ = ["entitydefs"]
+
entitydefs = {
'AElig': '\306', # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1
'Aacute': '\301', # latin capital letter A with acute, U+00C1 ISOlat1
from sgmllib import SGMLParser
from formatter import AS_IS
+__all__ = ["HTMLParser"]
class HTMLParser(SGMLParser):
except ImportError:
from StringIO import StringIO
+__all__ = ["HTTP"]
+
HTTP_PORT = 80
HTTPS_PORT = 443
The classes defined here should be used as base classes for extended
functionality along those lines.
-If a module mporter class supports dotted names, its import_module()
+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
by the way the __import__ hook is used by the Python interpreter.) It
import sys
import string
+__all__ = ["BasicModuleLoader","Hooks","ModuleLoader","FancyModuleLoader",
+ "BasicModuleImporter","ModuleImporter","install","uninstall"]
VERBOSE = 0
import binascii, re, socket, string, time, random, sys
+__all__ = ["IMAP4","error","abort","readonly","Internaldate2tuple",
+ "Int2AP","ParseFlags","Time2InternalDate"]
+
# Globals
CRLF = '\r\n'
check_all("ftplib")
check_all("getopt")
check_all("getpass")
+check_all("gettext")
check_all("glob")
+check_all("gopher")
+check_all("gzip")
+check_all("htmlentitydefs")
+check_all("htmllib")
+check_all("httplib")
+check_all("ihooks")
+check_all("imaplib")
check_all("robotparser")