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
