Author: Antonio Cuni <anto.c...@gmail.com> Branch: py3k Changeset: r52506:f3f032ce4cb2 Date: 2012-02-15 15:23 +0100 http://bitbucket.org/pypy/pypy/changeset/f3f032ce4cb2/
Log: bah, confusion between applevel and interplevel None diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopcode.py +++ b/pypy/interpreter/pyopcode.py @@ -496,7 +496,7 @@ operror = OperationError(w_type, w_value, w_cause=w_cause) operror.normalize_exception(space) tb = space.getattr(w_value, space.wrap('__traceback__')) - if tb is not None: + if not space.is_w(tb, space.w_None): operror.set_traceback(tb) raise operror _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit