inspect.isdatadescriptor(object) Return true if the object is a data descriptor. Data descriptors
inspect.getsourcefile(object) Return the name of the Python source file in which an object was defined. This will fail with
gc.get_objects() Returns a list of all objects tracked by the collector, excluding the list returned.
sys.flags The struct sequence flags exposes the status of command line flags
sys.modules This is a dictionary that maps module names to modules which have already been loaded. This can be manipulated to
gc.get_debug() Return the debugging flags currently set.
traceback.extract_stack(f=None, limit=None) Extract the raw traceback from the current stack frame. The return value has the
contextlib.closing(thing) Return a context manager that closes thing upon completion of the block. This is basically
kind Describes how argument values are bound to the parameter. Possible values (accessible via Parameter, like
callback(callback, *args, **kwds) Accepts an arbitrary callback function and arguments and adds it to the callback stack.
Page 6 of 26