traceback.print_last(limit=None, file=None, chain=True) This is a shorthand for print_exception(sys.last_type, sys.last_value
sys._xoptions A dictionary of the various implementation-specific flags passed through the -X command-line option
inspect.getfullargspec(func) Get the names and default values of a Python function’s arguments. A named
bind_partial(*args, **kwargs) Works the same way as Signature.bind(), but allows the omission of some required
inspect.isframe(object) Return true if the object is a frame.
gc.set_threshold(threshold0[, threshold1[, threshold2]]) Set the garbage collection thresholds (the collection frequency). Setting
sys.dont_write_bytecode If this is true, Python won’t try to write .pyc files on the import of source modules.
inspect.getgeneratorlocals(generator) Get the mapping of live local variables in generator to their current values
warnings.formatwarning(message, category, filename, lineno, line=None) Format a warning the standard way. This returns a string
inspect.istraceback(object) Return true if the object is a traceback.
Page 17 of 26