28. Python Runtime 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:
- 28.1.
sysâ System-specific parameters and functions - 28.2.
sysconfigâ Provide access to Pythonâs configuration information - 28.3.
__builtin__â Built-in objects - 28.4.
future_builtinsâ Python 3 builtins - 28.5.
__main__â Top-level script environment - 28.6.
warningsâ Warning control - 28.7.
contextlibâ Utilities forwith-statement contexts - 28.8.
abcâ Abstract Base Classes - 28.9.
atexitâ Exit handlers - 28.10.
tracebackâ Print or retrieve a stack traceback - 28.11.
__future__â Future statement definitions - 28.12.
gcâ Garbage Collector interface - 28.13.
inspectâ Inspect live objects - 28.14.
siteâ Site-specific configuration hook - 28.15.
userâ User-specific configuration hook - 28.16.
fpectlâ Floating point exception control
