[pypy-dev] Unsuccesfull in translating the interpeter

Elmo Mäntynen elmo13 at jippii.fi
Sat Oct 1 00:14:05 CEST 2005


I'm using the latest code from the svn. Here's the last bits of the
output given:

"
[getflowgraph] (pypy.interpreter.pyopcode:72) getlocalvarname
[getflowgraph] (pypy.module.recparser.pyparser:39) visit_tempsyntaxnode
[getflowgraph] (pypy.interpreter.executioncontext:55) return_trace
[getflowgraph] (pypy.module._sre.interp_sre:119) marks_pop_keep
[annrpython:WARNING]
(pypy.interpreter.nestedscope:139)PyNestedScopeFrame.LOAD_DEREF block at 49
op=2/ demoting method iscellvar to base class <ClassDef
'pypy.interpreter.pyopcode.PyInterpFrame'>
[getflowgraph] (pypy.interpreter.nestedscope:127) iscellvar
[getflowgraph] (pypy.interpreter.pyopcode:78) getname_u
[getflowgraph] (pypy.interpreter.pyframe:414) cleanup
[getflowgraph] (pypy.interpreter.pyframe:360) cleanup
[getflowgraph] (pypy.interpreter.pyframe:356) cleanupstack
[getflowgraph] (pypy.interpreter.pyframe:373) unroll
[getflowgraph] (pypy.interpreter.pyframe:364) unroll
[getflowgraph] (pypy.interpreter.pyframe:425) unroll
[getflowgraph] (pypy.interpreter.pyframe:392) unroll
[getflowgraph]
(pypy._cache.pyopcode_a0dbad8943e839e68a3f255215d51bda:63) prepare_exec
[getflowgraph] (pypy.module._sre.interp_sre:116) marks_pop
[getflowgraph] (pypy.objspace.std.longobject:1689) _get_odd
[getflowgraph]
(pypy._cache.pyopcode_a0dbad8943e839e68a3f255215d51bda:75) prepare_exec
[getflowgraph] (pypy.interpreter.baseobjspace:387) getslice
LOOKUP_IN_TYPE_WHERE __rxor__

def lookup_in_type_where___rxor__(space, w_type, name):
    if not w_type.is_heaptype():
        return w_type.cached_where___rxor__
    return w_type.lookup_where("__rxor__")

[getflowgraph] (?:2) lookup_in_type_where___rxor__
[getflowgraph] (pypy.objspace.std.objspace:471) old_slice_range
LOOKUP_IN_TYPE_WHERE __rtruediv__

def lookup_in_type_where___rtruediv__(space, w_type, name):
    if not w_type.is_heaptype():
        return w_type.cached_where___rtruediv__
    return w_type.lookup_where("__rtruediv__")

[getflowgraph] (?:2) lookup_in_type_where___rtruediv__
[getflowgraph] (pypy.interpreter.baseobjspace:393) delslice
[getflowgraph]
(pypy._cache.pyopcode_7bd3d4004169eb9bb1af14a0d618572c:39) find_metaclass
[getflowgraph]
(pypy._cache.pyopcode_6423a0aed865d772ac222358cb6d34d1:43) import_all_from
[getflowgraph] (pypy.module.__builtin__.importing:388) _w_long
[getflowgraph]
(pypy._cache.pyopcode_7bd3d4004169eb9bb1af14a0d618572c:48) find_metaclass
[getflowgraph]
(pypy._cache.pyopcode_6423a0aed865d772ac222358cb6d34d1:52) import_all_from
[getflowgraph] (pypy.lib._osfilewrapper:23) write
[getflowgraph] (pypy.interpreter.baseobjspace:390) setslice
[getflowgraph] (pypy.objspace.descroperation:82) get_and_call_function__6
[getflowgraph] (pypy.objspace.std.listsort:119) gallop__False
[getflowgraph] (pypy.lib._osfilewrapper:30) seek
[getflowgraph] (pypy.objspace.std.listsort:223) merge_lo
[getflowgraph] (pypy.objspace.std.listsort:326) merge_hi
[getflowgraph] (pypy.objspace.std.listsort:560) copyitems
[getflowgraph] (pypy.objspace.std.listsort:571) popleft
[getflowgraph] (pypy.objspace.std.listsort:577) popright

Traceback (most recent call last):
  File "translate_pypy.py", line 803, in ?
    analyse(targetspec_dic['target'])
  File "translate_pypy.py", line 145, in analyse
    a = t.annotate(inputtypes, policy=policy)
  File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/translator.py",
line 132, in annotate
    self.annotator.build_types(graph, input_args_types, func)
  File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/annrpython.py",
line 108, in build_types
    self.complete()
  File
"/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/annrpython.py",
line 194, in complete
    raise AnnotatorError('%d blocks are still blocked' %
AnnotatorError: 1 blocks are still blocked


>
/home/drayko/Workfolder/Security/Python/cvs/pypy-dist/pypy/translator/annrpython.py(194)complete()
-> raise AnnotatorError('%d blocks are still blocked' %
(Pdb)"

Elmo



More information about the Pypy-dev mailing list