cpython-withatomic / Doc / libpython.tex

The branch 'legacy-trunk' does not exist.
Full commit
\chapter{Python Services}

The modules described in this chapter provide a wide range of services
related to the Python interpreter and its interaction with its
environment.  Here's an overview:


--- Access system specific parameters and functions.

--- Names for all built-in types.

--- Print or retrieve a stack traceback.

--- Convert Python objects to streams of bytes and back.

--- Python object persistency.

--- Shallow and deep copy operations.

--- Convert Python objects to streams of bytes and back (with
different constraints).

--- Access the implementation of the \code{import} statement.

--- Retrieve and submit parse trees from and to the runtime support

--- The set of built-in functions.

--- The environment where the top-level script is run.