Advertisement
Guest User

Untitled

a guest
Sep 24th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.48 KB | None | 0 0
  1. $ ~/bin/pypy/bin/pypy pypy/bin/checkmodule.py __builtin__
  2.  
  3. ------ seeing typedef 'range' ------
  4.  
  5. ------ seeing typedef 'enumerate' ------
  6.  
  7. ------ seeing typedef 'map' ------
  8.  
  9. ------ seeing typedef 'filter' ------
  10.  
  11. ------ seeing typedef 'zip' ------
  12.  
  13. ------ seeing typedef 'reversed' ------
  14.  
  15. ------ seeing typedef 'super' ------
  16.  
  17. ------ seeing typedef 'staticmethod' ------
  18.  
  19. ------ seeing typedef 'classmethod' ------
  20.  
  21. ------ seeing typedef 'property' ------
  22. ++++++++************************%%%%%%%%%%%%####%%%%%%%%%%#%%%%%%%%%%%%##%%%%%%%%%%%#######################%%%#########################################################################################################################
  23. ------ seeing typedef 'code' ------
  24. #########
  25. ------ seeing typedef 'internal-code' ------
  26. ###############%%%%%%%%%%%%%%%%%%Traceback (most recent call last):
  27. File "pypy/bin/checkmodule.py", line 35, in main
  28. checkmodule(modname)
  29. File "pypy/bin/../../pypy/objspace/fake/checkmodule.py", line 38, in checkmodule
  30. **{'translation.list_comprehension_operations': True})
  31. File "pypy/bin/../../pypy/objspace/fake/objspace.py", line 414, in translates
  32. ann.complete_pending_blocks()
  33. File "pypy/bin/../../rpython/annotator/annrpython.py", line 224, in complete_pending_blocks
  34. self.processblock(graph, block)
  35. File "pypy/bin/../../rpython/annotator/annrpython.py", line 398, in processblock
  36. self.flowin(graph, block)
  37. File "pypy/bin/../../rpython/annotator/annrpython.py", line 501, in flowin
  38. self.consider_op(op)
  39. File "pypy/bin/../../rpython/annotator/annrpython.py", line 653, in consider_op
  40. resultcell = op.consider(self)
  41. File "pypy/bin/../../rpython/flowspace/operation.py", line 104, in consider
  42. return spec(annotator, *self.args)
  43. File "pypy/bin/../../rpython/annotator/unaryop.py", line 118, in simple_call_SomeObject
  44. return s_func.call(argspec)
  45. File "pypy/bin/../../rpython/annotator/unaryop.py", line 978, in call
  46. return bookkeeper.pbc_call(self, args)
  47. File "pypy/bin/../../rpython/annotator/bookkeeper.py", line 535, in pbc_call
  48. results.append(desc.pycall(whence, args, s_previous_result, op))
  49. File "pypy/bin/../../rpython/annotator/description.py", line 621, in pycall
  50. return self.funcdesc.pycall(whence, func_args, s_previous_result, op)
  51. File "pypy/bin/../../rpython/annotator/description.py", line 293, in pycall
  52. result = annotator.recursivecall(graph, whence, inputcells)
  53. File "pypy/bin/../../rpython/annotator/annrpython.py", line 327, in recursivecall
  54. self.addpendingblock(graph, graph.startblock, inputcells)
  55. File "pypy/bin/../../rpython/annotator/annrpython.py", line 189, in addpendingblock
  56. self.mergeinputargs(graph, block, cells)
  57. File "pypy/bin/../../rpython/annotator/annrpython.py", line 435, in mergeinputargs
  58. unions = [annmodel.unionof(c1,c2) for c1, c2 in zip(oldcells,inputcells)]
  59. File "pypy/bin/../../rpython/annotator/model.py", line 775, in unionof
  60. s1 = pair(s1, s2).union()
  61. File "pypy/bin/../../rpython/annotator/binaryop.py", line 471, in union
  62. return SomeList(lst1.listdef.union(lst2.listdef))
  63. File "pypy/bin/../../rpython/annotator/listdef.py", line 140, in union
  64. self.listitem.merge(other.listitem)
  65. File "pypy/bin/../../rpython/annotator/listdef.py", line 81, in merge
  66. self.resize()
  67. File "pypy/bin/../../rpython/annotator/listdef.py", line 49, in resize
  68. raise ListChangeUnallowed("resizing list")
  69. ListChangeUnallowed:
  70.  
  71. resizing list
  72.  
  73.  
  74. Occurred processing the following simple_call:
  75. <MethodOfFrozenDesc <FunctionDesc for <function newtuple at 0x00000000032a1c40>> of <FrozenDesc for FakeObjSpace>> returning
  76.  
  77. w_bases_0 = simple_call(v2, bases_w_0)
  78.  
  79. In <FunctionGraph of (pypy.module.__builtin__.compiling:117)build_class at 0x50e7868>:
  80. Happened at file pypy/bin/../../pypy/module/__builtin__/compiling.py line 125
  81.  
  82. orig_bases_w, kwds_w = __args__.unpack()
  83. w_orig_bases = space.newtuple(orig_bases_w)
  84. bases_w = _update_bases(space, w_orig_bases)
  85. ==> w_bases = space.newtuple(bases_w)
  86. w_meta = kwds_w.pop('metaclass', None)
  87. if w_meta is not None:
  88.  
  89. Known variable annotations:
  90. v2 = SomePBC(can_be_None=False, const=<bound method FakeObjSpace.newtuple of FakeObjSpace>, subset_of=None)
  91. bases_w_0 = SomeList(listdef=<[SomeInstance(can_be_None=False, classdef=pypy.interpreter.baseobjspace.W_Root)]mr>)
  92.  
  93. > /home/yannick/pypy/rpython/annotator/listdef.py(49)resize()
  94. -> raise ListChangeUnallowed("resizing list")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement