sys.is_finalizing()
  • References/Python/Python/Runtime

sys.is_finalizing() Return

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

atexit.unregister(func) Remove func from the list of functions to be run at interpreter shutdown. After calling

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

sys.__interactivehook__ When this attribute exists, its value is automatically called (with no arguments) when the interpreter

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

@abc.abstractstaticmethod A subclass of the built-in

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

inspect.getframeinfo(frame, context=1) Get information about a frame or traceback object. A named

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

inspect.isclass(object) Return true if the object is a class, whether built-in or created in Python code.

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

gc.get_threshold() Return the current collection thresholds as a tuple of (threshold0, threshold1, threshold2)

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

sys.hexversion The version number encoded as a single integer. This is guaranteed to increase with each version, including proper

2025-01-10 15:47:30
traceback.TracebackException.filename
  • References/Python/Python/Runtime

filename For syntax errors - the file name where the error occurred.

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

contextlib.redirect_stdout(new_target) Context manager for temporarily redirecting

2025-01-10 15:47:30