def execfile_(fname, *args):
        if fname.endswith(".pyc"):
            return six.exec_(_get_codeobj(fname), *args)
        return execfile(fname, *args)
Overriding PY2 execfile() implementation to support .pyc files
dataset/ETHPy150Open benoitc/gunicorn/gunicorn/_compat.py/execfile_