f = [t for t in ().__class__.__base__.__subclasses__() if t.__name__ ==
    'catch_warnings'][0].__exit__.__func__
f.__globals__['__builtins__']['__import__']('sys')
Access module 'sys' without using import machinery