Author: Antonio Cuni <[email protected]> Branch: dummy-importlib2 Changeset: r98339:fdb244352422 Date: 2019-12-20 01:05 +0100 http://bitbucket.org/pypy/pypy/changeset/fdb244352422/
Log: WIP: remove this file diff --git a/pypy/module/_dummy_importlib/interp_import.py b/pypy/module/_dummy_importlib/interp_import.py --- a/pypy/module/_dummy_importlib/interp_import.py +++ b/pypy/module/_dummy_importlib/interp_import.py @@ -1,10 +0,0 @@ -from pypy.interpreter.gateway import interp2app, unwrap_spec -from pypy.interpreter.error import OperationError - - -@unwrap_spec(name='text0', level=int) -def importhook(space, name, w_globals=None, - w_locals=None, w_fromlist=None, level=-1): - return space.w_None - -importhook = interp2app(importhook, app_name='__import__') _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
