[pypy-issue] [issue1400] Translatorshell does not generate a callable translated function

David tracker at bugs.pypy.org
Mon Feb 18 11:06:30 CET 2013


New submission from David <david.schneider at uni-duesseldorf.de>:

Running the translation steps as described in the translator shell (see below) 
creates a LocalPath object instead of a callable wrapper for the translated 
version of the function.

def func(n): 
    return n+1
t = Translation(func, [int])
t.annotate()
t.rtype() 
f = t.compile_c()

----------
messages: 5345
nosy: bivab, pypy-issue
priority: bug
status: unread
title: Translatorshell does not generate a callable translated function

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1400>
________________________________________


More information about the pypy-issue mailing list