[pypy-commit] pypy pypy-in-a-box: rename the function

fijal noreply at buildbot.pypy.org
Wed Jul 18 15:03:33 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: pypy-in-a-box
Changeset: r56143:9af0c40be623
Date: 2012-07-18 15:03 +0200
http://bitbucket.org/pypy/pypy/changeset/9af0c40be623/

Log:	rename the function

diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py
--- a/pypy/objspace/std/embedding.py
+++ b/pypy/objspace/std/embedding.py
@@ -66,5 +66,6 @@
     for name, (func, argtypes, restype) in FUNCTIONS.iteritems():
         def newfunc(*args):
             return func(space, *args)
+        newfunc.func_name = 'pypy_' + name
         deco = entrypoint("embedding", argtypes, 'pypy_' + name, relax=True)
         deco(newfunc)


More information about the pypy-commit mailing list