1 \chapter{Python Services
}
4 The modules described in this chapter provide a wide range of services
5 related to the Python interpreter and its interaction with its
6 environment. Here's an overview:
11 --- Access system specific parameters and functions.
14 --- Names for all built-in types.
17 --- Class wrapper for dictionary objects.
20 --- Class wrapper for list objects.
23 --- All Python's standard operators as built-in functions.
26 --- Print or retrieve a stack traceback.
29 --- Convert Python objects to streams of bytes and back.
32 --- Faster version of
\module{pickle
}, but not subclassable.
35 --- Register
\module{pickle
} support functions.
38 --- Python object persistency.
41 --- Shallow and deep copy operations.
44 --- Convert Python objects to streams of bytes and back (with
45 different constraints).
48 --- Access the implementation of the
\keyword{import
} statement.
51 --- Retrieve and submit parse trees from and to the runtime support
55 --- Constants representing internal nodes of the parse tree.
58 --- Constants representing terminal nodes of the parse tree.
61 --- Test whether a string is a keyword in the Python language.
64 --- Code object services.
67 --- Data pretty printer.
73 --- A standard way to reference site-specific modules.
76 --- A standard way to reference user-specific modules.
79 --- The set of built-in functions.
82 --- The environment where the top-level script is run.