1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
Contents of the @PVER@-minimal package
-----------------------------------------
@PVER@-minimal consists of a minimum set of modules which may be needed
for python scripts used during the boot process. If other packages
are needed in these scripts, don't work around the missing module, but
file a bug report against this package. The modules in this package
are:
__builtin__ builtin
__future__ module
_codecs builtin
_random extension
_socket extension
_sre builtin
_struct extension
_symtable builtin
_types builtin
ConfigParser module
StringIO module
UserDict module
cStringIO extension
array extension
binascii extension
compileall module
copy module
copy_reg module
dis module
errno builtin
exceptions builtin
fcntl extension
fnmatch module
getopt module
glob module
grp extension
hashlib module
imp builtin
inspect module
itertools extension
linecache module
marshal builtin
math extension
md5 module
opcode module
operator extension
optparse module
os module
pickle module
platform module
popen2 module
posix builtin
posixpath module
pwd builtin
py_compile module
random module
re module
repr module
select extension
sha module
socket module
sre module
sre_compile module
sre_constants module
sre_parse module
stat module
string module
strop extension
struct module
subprocess module
sys builtin
syslog extension
tempfile module
textwrap module
time extension
token module
tokenize module
traceback module
types module
warnings module
zlib extension
The following modules are excluded, their import is guarded from the
importing module (i.e. omit the import of _ssl in socket):
_hashlib hashlib
os nt ntpath os2 os2emxpath mac macpath
riscos riscospath riscosenviron
optparse gettext
pickle doctest
platform tempfile
socket _ssl
subprocess threading
This list was derived by looking at the modules in the perl-base package,
then adding python specific "core modules".
TODO's
------
- time.strptime cannot be used. The required _strptime module is not
included in the -minimal package yet. _strptime, locale, _locale and
calendar have to be added.
- modules used very often in the testsuite: copy, cPickle, operator.
|