traceback.extract_tb()
  • References/Python/Python/Runtime

traceback.extract_tb(tb, limit=None) Return a list of “pre-processed” stack trace entries extracted from the traceback object

2025-01-10 15:47:30
sys.version
  • References/Python/Python/Runtime

sys.version A string containing the version number of the Python interpreter plus additional information on the build number

2025-01-10 15:47:30
sys.call_tracing()
  • References/Python/Python/Runtime

sys.call_tracing(func, args) Call func(*args), while tracing is enabled. The tracing state is saved, and restored

2025-01-10 15:47:30
sysconfig.get_python_version()
  • References/Python/Python/Runtime

sysconfig.get_python_version() Return the MAJOR.MINOR Python version number as a string. Similar to sys.version[:3]

2025-01-10 15:47:30
sys.exc_info()
  • References/Python/Python/Runtime

sys.exc_info() This function returns a tuple of three values that give information about the exception that is currently being

2025-01-10 15:47:30
warnings.warn_explicit()
  • References/Python/Python/Runtime

warnings.warn_explicit(message, category, filename, lineno, module=None, registry=None, module_globals=None) This is a low-level

2025-01-10 15:47:30
sys.getrecursionlimit()
  • References/Python/Python/Runtime

sys.getrecursionlimit() Return the current value of the recursion limit, the maximum depth of the Python interpreter stack.

2025-01-10 15:47:30
sys.getfilesystemencoding()
  • References/Python/Python/Runtime

sys.getfilesystemencoding() Return the name of the encoding used to convert Unicode filenames into system file names. The result

2025-01-10 15:47:30
sys.setcheckinterval()
  • References/Python/Python/Runtime

sys.setcheckinterval(interval) Set the interpreter’s “check interval”. This integer value determines how often the interpreter

2025-01-10 15:47:30
contextlib.ExitStack.push()
  • References/Python/Python/Runtime

push(exit) Adds a context manager’s __exit__() method to the callback stack. As

2025-01-10 15:47:30