aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/compat.py')
-rw-r--r--setuptools/compat.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/setuptools/compat.py b/setuptools/compat.py
index 507f8e6c..45c2f24c 100644
--- a/setuptools/compat.py
+++ b/setuptools/compat.py
@@ -10,7 +10,6 @@ if PY2:
import ConfigParser
from StringIO import StringIO
BytesIO = StringIO
- execfile = execfile
func_code = lambda o: o.func_code
func_globals = lambda o: o.func_globals
im_func = lambda o: o.im_func
@@ -63,15 +62,6 @@ if PY3:
)
filterfalse = itertools.filterfalse
- def execfile(fn, globs=None, locs=None):
- if globs is None:
- globs = globals()
- if locs is None:
- locs = globs
- with open(fn, 'rb') as f:
- source = f.read()
- exec(compile(source, fn, 'exec'), globs, locs)
-
def reraise(tp, value, tb=None):
if value.__traceback__ is not tb:
raise value.with_traceback(tb)