traceback.extract_tb(tb, limit=None) Return a list of “pre-processed” stack trace entries extracted from the traceback object
sys.version A string containing the version number of the Python interpreter plus additional information on the build number
sys.call_tracing(func, args) Call func(*args), while tracing is enabled. The tracing state is saved, and restored
sysconfig.get_python_version() Return the MAJOR.MINOR Python version number as a string. Similar to sys.version[:3]
sys.exc_info() This function returns a tuple of three values that give information about the exception that is currently being
warnings.warn_explicit(message, category, filename, lineno, module=None, registry=None, module_globals=None) This is a low-level
sys.getrecursionlimit() Return the current value of the recursion limit, the maximum depth of the Python interpreter stack.
sys.getfilesystemencoding() Return the name of the encoding used to convert Unicode filenames into system file names. The result
sys.setcheckinterval(interval) Set the interpreter’s “check interval”. This integer value determines how often the interpreter
push(exit) Adds a context manager’s __exit__() method to the callback stack. As
Page 13 of 26