[pypy-commit] pypy vmprof-newstack: oups
arigo
pypy.commits at gmail.com
Fri Jan 15 04:05:12 EST 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: vmprof-newstack
Changeset: r81780:6d38653b9837
Date: 2016-01-15 10:04 +0100
http://bitbucket.org/pypy/pypy/changeset/6d38653b9837/
Log: oups
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,7 +60,7 @@
Must be smaller than 1.0
"""
w_modules = space.sys.get('modules')
- if space.contains(w_modules, space.wrap('_continuation')):
+ if space.is_true(space.contains(w_modules, space.wrap('_continuation'))):
space.warn(space.wrap("Using _continuation/greenlet/stacklet together "
"with vmprof will crash"),
space.w_RuntimeWarning)
More information about the pypy-commit
mailing list