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. Heres an overview:
- 28.1.
sysSystem-specific parameters and functions - 28.2.
sysconfigProvide access to Pythons configuration information - 28.3.
__builtin__Built-in objects - 28.4.
future_builtinsPython 3 builtins - 28.5.
__main__Top-level script environment - 28.6.
warningsWarning control - 28.7.
contextlibUtilities forwith-statement contexts - 28.8.
abcAbstract Base Classes - 28.9.
atexitExit handlers - 28.10.
tracebackPrint or retrieve a stack traceback - 28.11.
__future__Future statement definitions - 28.12.
gcGarbage Collector interface - 28.13.
inspectInspect live objects - 28.14.
siteSite-specific configuration hook - 28.15.
userUser-specific configuration hook - 28.16.
fpectlFloating point exception control