warnings.catch_warnings

class warnings.catch_warnings(*, record=False, module=None) A context manager that copies and, upon exit, restores the warnings

2016-10-07 17:47:11
sys.intern()

sys.intern(string) Enter string in the table of “interned” strings and return the interned string – which is string

2016-10-07 17:43:53
gc.enable()

gc.enable() Enable automatic garbage collection.

2016-10-07 17:33:28
atexit.unregister()

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

2016-10-07 17:27:12
traceback.StackSummary.extract()

classmethod extract(frame_gen, *, limit=None, lookup_lines=True, capture_locals=False) Construct a StackSummary

2016-10-07 17:45:11
traceback.TracebackException.from_exception()

classmethod from_exception(exc, *, limit=None, lookup_lines=True, capture_locals=False) Capture an exception for later rendering

2016-10-07 17:45:12
contextlib.redirect_stdout()

contextlib.redirect_stdout(new_target) Context manager for temporarily redirecting

2016-10-07 17:29:21
warnings.warn()

warnings.warn(message, category=None, stacklevel=1) Issue a warning, or maybe ignore it or raise an exception. The category

2016-10-07 17:47:12
sys.set_coroutine_wrapper()

sys.set_coroutine_wrapper(wrapper) Allows intercepting creation of coroutine objects

2016-10-07 17:43:58
inspect.Signature.bind()

bind(*args, **kwargs) Create a mapping from positional and keyword arguments to parameters. Returns BoundArguments

2016-10-07 17:35:07