import re, socket
+__all__ = ["POP3","error_proto"]
+
# Exception raised when an error or invalid response is received:
class error_proto(Exception): pass
query only
"""
+__all__ = ["open","fileopen","SEEK_SET","SEEK_CUR","SEEK_END"]
+
class _posixfile_:
"""File wrapper class that provides extra POSIX file routines."""
import os
import stat
+__all__ = ["normcase","isabs","join","splitdrive","split","splitext",
+ "basename","dirname","commonprefix","getsize","getmtime",
+ "getatime","islink","exists","isdir","isfile","ismount",
+ "walk","expanduser","expandvars","normpath","abspath",
+ "samefile","sameopenfile","samestat"]
# Normalize the case of a pathname. Trivial in Posix, string.lower on Mac.
# On MS-DOS this may also turn slashes into backslashes; however, other
except ImportError:
from StringIO import StringIO
+__all__ = ["pprint","pformat","isreadable","isrecursive","saferepr",
+ "PrettyPrinter"]
def pprint(object, stream=None):
"""Pretty-print a Python object to a stream [default is sys.sydout]."""
import sys
from pcre import *
+__all__ = ["match","search","sub","subn","split","findall","escape","compile"]
+
#
# First, the public part of the interface:
#
import time
import marshal
+__all__ = ["run","help","Profile"]
# Sample timer for use with
#i_count = 0
import fpformat
+__all__ = ["Stats"]
+
class Stats:
"""This class is used for creating reports from data generated by the
Profile class. It is a "friend" of that class, and imports data either
import os, FCNTL
import tty
+__all__ = ["openpty","fork","spawn"]
+
STDIN_FILENO = 0
STDOUT_FILENO = 1
STDERR_FILENO = 2
import imp
MAGIC = imp.get_magic()
+__all__ = ["compile"]
+
def wr_long(f, x):
"""Internal; write a 32-bit int to a file in little-endian order."""
f.write(chr( x & 0xff))
import re
import string
+__all__ = ["readmodule"]
+
TABWIDTH = 8
_getnext = re.compile(r"""
# (Dec 1991 version).
+__all__ = ["encode","decode"]
+
ESCAPE = '='
MAXLINESIZE = 76
HEX = '0123456789ABCDEF'
check_all("pickle")
check_all("pipes")
check_all("popen2")
+check_all("poplib")
+check_all("posixfile")
+check_all("posixpath")
+check_all("pprint")
+check_all("pre")
+check_all("profile")
+check_all("pstats")
+check_all("pty")
+check_all("py_compile")
+check_all("pyclbr")
+check_all("quopri")
check_all("robotparser")