Author: Richard Plangger <planri...@gmail.com> Branch: Changeset: r91968:ac3af78f56db Date: 2017-07-23 18:22 -0400 http://bitbucket.org/pypy/pypy/changeset/ac3af78f56db/
Log: remove write_all_code_objects, this method is not called when it does not exist diff --git a/pypy/module/_vmprof/__init__.py b/pypy/module/_vmprof/__init__.py --- a/pypy/module/_vmprof/__init__.py +++ b/pypy/module/_vmprof/__init__.py @@ -11,7 +11,6 @@ interpleveldefs = { 'enable': 'interp_vmprof.enable', 'disable': 'interp_vmprof.disable', - 'write_all_code_objects': 'interp_vmprof.write_all_code_objects', 'is_enabled': 'interp_vmprof.is_enabled', 'get_profile_path': 'interp_vmprof.get_profile_path', 'stop_sampling': 'interp_vmprof.stop_sampling', diff --git a/pypy/module/_vmprof/interp_vmprof.py b/pypy/module/_vmprof/interp_vmprof.py --- a/pypy/module/_vmprof/interp_vmprof.py +++ b/pypy/module/_vmprof/interp_vmprof.py @@ -70,11 +70,6 @@ except rvmprof.VMProfError as e: raise VMProfError(space, e) -def write_all_code_objects(space): - """ Needed on cpython, just empty function here - """ - pass - def disable(space): """Disable vmprof. Remember to close the file descriptor afterwards if necessary. _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit