Author: Tobias Pape <tob...@netshed.de> Branch: Changeset: r70326:d0950a7fb51a Date: 2014-03-29 12:55 +0100 http://bitbucket.org/pypy/pypy/changeset/d0950a7fb51a/
Log: Include hint to which function is not rpythonic diff --git a/rpython/flowspace/objspace.py b/rpython/flowspace/objspace.py --- a/rpython/flowspace/objspace.py +++ b/rpython/flowspace/objspace.py @@ -22,7 +22,7 @@ Function is inner function Function uses generator expressions Lambda expressions -""") +in %r""" % (func,)) if not (func.func_code.co_flags & CO_NEWLOCALS): raise ValueError("The code object for a RPython function should have " "the flag CO_NEWLOCALS set.") _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit