Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ~/bin/pypy/bin/pypy pypy/bin/checkmodule.py __builtin__
- ------ seeing typedef 'range' ------
- ------ seeing typedef 'enumerate' ------
- ------ seeing typedef 'map' ------
- ------ seeing typedef 'filter' ------
- ------ seeing typedef 'zip' ------
- ------ seeing typedef 'reversed' ------
- ------ seeing typedef 'super' ------
- ------ seeing typedef 'staticmethod' ------
- ------ seeing typedef 'classmethod' ------
- ------ seeing typedef 'property' ------
- ++++++++************************%%%%%%%%%%%%####%%%%%%%%%%#%%%%%%%%%%%%##%%%%%%%%%%%#######################%%%#########################################################################################################################
- ------ seeing typedef 'code' ------
- #########
- ------ seeing typedef 'internal-code' ------
- ###############%%%%%%%%%%%%%%%%%%Traceback (most recent call last):
- File "pypy/bin/checkmodule.py", line 35, in main
- checkmodule(modname)
- File "pypy/bin/../../pypy/objspace/fake/checkmodule.py", line 38, in checkmodule
- **{'translation.list_comprehension_operations': True})
- File "pypy/bin/../../pypy/objspace/fake/objspace.py", line 414, in translates
- ann.complete_pending_blocks()
- File "pypy/bin/../../rpython/annotator/annrpython.py", line 224, in complete_pending_blocks
- self.processblock(graph, block)
- File "pypy/bin/../../rpython/annotator/annrpython.py", line 398, in processblock
- self.flowin(graph, block)
- File "pypy/bin/../../rpython/annotator/annrpython.py", line 501, in flowin
- self.consider_op(op)
- File "pypy/bin/../../rpython/annotator/annrpython.py", line 653, in consider_op
- resultcell = op.consider(self)
- File "pypy/bin/../../rpython/flowspace/operation.py", line 104, in consider
- return spec(annotator, *self.args)
- File "pypy/bin/../../rpython/annotator/unaryop.py", line 118, in simple_call_SomeObject
- return s_func.call(argspec)
- File "pypy/bin/../../rpython/annotator/unaryop.py", line 978, in call
- return bookkeeper.pbc_call(self, args)
- File "pypy/bin/../../rpython/annotator/bookkeeper.py", line 535, in pbc_call
- results.append(desc.pycall(whence, args, s_previous_result, op))
- File "pypy/bin/../../rpython/annotator/description.py", line 621, in pycall
- return self.funcdesc.pycall(whence, func_args, s_previous_result, op)
- File "pypy/bin/../../rpython/annotator/description.py", line 293, in pycall
- result = annotator.recursivecall(graph, whence, inputcells)
- File "pypy/bin/../../rpython/annotator/annrpython.py", line 327, in recursivecall
- self.addpendingblock(graph, graph.startblock, inputcells)
- File "pypy/bin/../../rpython/annotator/annrpython.py", line 189, in addpendingblock
- self.mergeinputargs(graph, block, cells)
- File "pypy/bin/../../rpython/annotator/annrpython.py", line 435, in mergeinputargs
- unions = [annmodel.unionof(c1,c2) for c1, c2 in zip(oldcells,inputcells)]
- File "pypy/bin/../../rpython/annotator/model.py", line 775, in unionof
- s1 = pair(s1, s2).union()
- File "pypy/bin/../../rpython/annotator/binaryop.py", line 471, in union
- return SomeList(lst1.listdef.union(lst2.listdef))
- File "pypy/bin/../../rpython/annotator/listdef.py", line 140, in union
- self.listitem.merge(other.listitem)
- File "pypy/bin/../../rpython/annotator/listdef.py", line 81, in merge
- self.resize()
- File "pypy/bin/../../rpython/annotator/listdef.py", line 49, in resize
- raise ListChangeUnallowed("resizing list")
- ListChangeUnallowed:
- resizing list
- Occurred processing the following simple_call:
- <MethodOfFrozenDesc <FunctionDesc for <function newtuple at 0x00000000032a1c40>> of <FrozenDesc for FakeObjSpace>> returning
- w_bases_0 = simple_call(v2, bases_w_0)
- In <FunctionGraph of (pypy.module.__builtin__.compiling:117)build_class at 0x50e7868>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/compiling.py line 125
- orig_bases_w, kwds_w = __args__.unpack()
- w_orig_bases = space.newtuple(orig_bases_w)
- bases_w = _update_bases(space, w_orig_bases)
- ==> w_bases = space.newtuple(bases_w)
- w_meta = kwds_w.pop('metaclass', None)
- if w_meta is not None:
- Known variable annotations:
- v2 = SomePBC(can_be_None=False, const=<bound method FakeObjSpace.newtuple of FakeObjSpace>, subset_of=None)
- bases_w_0 = SomeList(listdef=<[SomeInstance(can_be_None=False, classdef=pypy.interpreter.baseobjspace.W_Root)]mr>)
- > /home/yannick/pypy/rpython/annotator/listdef.py(49)resize()
- -> raise ListChangeUnallowed("resizing list")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement