97
103
_real_import = __import__
99
def timed_import(name, globals, locals, fromlist):
105
def timed_import(name, globals, locals, fromlist, level=None):
100
106
"""Wrap around standard importer to log import time"""
102
109
scope_name = globals.get('__name__', None)