Author: Alex Gaynor <alex.gay...@gmail.com> Branch: kill-faking Changeset: r59285:4053bfea30e2 Date: 2012-12-02 17:23 -0800 http://bitbucket.org/pypy/pypy/changeset/4053bfea30e2/
Log: make this comment more accurate diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py --- a/pypy/interpreter/pycode.py +++ b/pypy/interpreter/pycode.py @@ -153,10 +153,8 @@ @classmethod def _from_code(cls, space, code, hidden_applevel=False, code_hook=None): - """ Initialize the code object from a real (CPython) one. - This is just a hack, until we have our own compile. - At the moment, we just fake this. - This method is called by our compile builtin function. + """ + Hack to initialize the code object from a real (CPython) one. """ assert isinstance(code, types.CodeType) newconsts_w = [None] * len(code.co_consts) @@ -186,7 +184,6 @@ list(code.co_cellvars), hidden_applevel, cpython_magic) - def _compute_flatcall(self): # Speed hack! self.fast_natural_arity = eval.Code.HOPELESS _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit