[pypy-commit] pypy fix-vmprof-memory-tracking: remove commented out code, this just works now

cfbolz pypy.commits at gmail.com
Fri May 24 16:31:17 EDT 2019


Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: fix-vmprof-memory-tracking
Changeset: r96671:40f08696399c
Date: 2019-05-24 17:37 +0200
http://bitbucket.org/pypy/pypy/changeset/40f08696399c/

Log:	remove commented out code, this just works now

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
@@ -60,11 +60,6 @@
     'interval' is a float representing the sampling interval, in seconds.
     Must be smaller than 1.0
     """
-    w_modules = space.sys.get('modules')
-    #if space.contains_w(w_modules, space.newtext('_continuation')):
-    #    space.warn(space.newtext("Using _continuation/greenlet/stacklet together "
-    #                             "with vmprof will crash"),
-    #               space.w_RuntimeWarning)
     try:
         rvmprof.enable(fileno, period, memory, native, real_time)
     except rvmprof.VMProfError as e:


More information about the pypy-commit mailing list