Author: Armin Rigo <ar...@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) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit