Advertisement
Guest User

Untitled

a guest
Sep 24th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 KB | None | 0 0
  1. ~/pypy$ ~/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. ......++++++++++++++************************************%%%%#%###%%%%%%%###%%#####################%%
  24. ------ seeing typedef 'code' ------
  25. %%###%%%%
  26. ------ seeing typedef 'internal-code' ------
  27. %%%**%%#**************
  28. ....++++++++++++****
  29. ------ seeing typedef 'builtin-code' ------
  30. *******************%%%%%%%%%%%%%%%%%%%%############%################################%%%%%%##%%%##%%************
  31. .+++++++++++
  32. ------ seeing typedef 'range' ------
  33. +******************%%%%
  34. ------ seeing typedef 'rangeiterator' ------
  35. %%%%%%%%%%%%%%%%%%%%%%%%%%#############
  36. ------ seeing typedef 'enumerate' ------
  37. #################
  38. ------ seeing typedef 'map' ------
  39. #################
  40. ------ seeing typedef 'filter' ------
  41. ########%##%*
  42. ------ seeing typedef 'zip' ------
  43. **********
  44. ++++++++++****************%%%%%%%%
  45. ------ seeing typedef 'reversed' ------
  46. %%%%%%%%%%%%%%%%%%
  47. ------ seeing typedef 'super' ------
  48. %%%%%%%%%#########################
  49. ------ seeing typedef 'staticmethod' ------
  50. ############################
  51. ------ seeing typedef 'classmethod' ------
  52. ##%%%%%%
  53. ------ seeing typedef 'method' ------
  54. %********
  55. ++++++++*****
  56. ------ seeing typedef 'property' ------
  57. *********%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#############################################################%%%%%%%%%%%*****
  58. ++++++*************%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%############################################################%%%%%%%%%%%%%**
  59. ++++************%%%%%##%%%%%%%%%%%%#%%%%%%%%%%%%%%%%################################Traceback (most recent call last):
  60. File "pypy/bin/checkmodule.py", line 35, in main
  61. checkmodule(modname)
  62. File "pypy/bin/../../pypy/objspace/fake/checkmodule.py", line 38, in checkmodule
  63. **{'translation.list_comprehension_operations': True})
  64. File "pypy/bin/../../pypy/objspace/fake/objspace.py", line 416, in translates
  65. ann.complete()
  66. File "pypy/bin/../../rpython/annotator/annrpython.py", line 257, in complete
  67. raise annmodel.AnnotatorError(text)
  68. AnnotatorError:
  69.  
  70. Blocked block -- operation cannot succeed
  71.  
  72. v29 = getattr(v28, ('compiler_flags'))
  73.  
  74. In <FunctionGraph of (pypy.module.__builtin__.compiling:13)compile at 0x153d6e0>:
  75. Happened at file pypy/bin/../../pypy/module/__builtin__/compiling.py line 32
  76.  
  77. ec = space.getexecutioncontext()
  78. if flags & ~(ec.compiler.compiler_flags | consts.PyCF_ONLY_AST |
  79. ==> consts.PyCF_DONT_IMPLY_DEDENT | consts.PyCF_SOURCE_IS_UTF8 |
  80. consts.PyCF_ACCEPT_NULL_BYTES):
  81.  
  82. Known variable annotations:
  83. v28 = SomeInstance(can_be_None=False, classdef=pypy.objspace.fake.objspace.FakeCompiler, const=<pypy.objspace.fake.objspace.FakeCompiler object at 0x00000000013e9948>)
  84.  
  85. Blocked block -- operation cannot succeed
  86.  
  87. v30 = getattr(self_4, ('FrameClass'))
  88.  
  89. In <FunctionGraph of (pypy.interpreter.baseobjspace:723)ObjSpace.createframe at 0x447cd40>:
  90. Happened at file pypy/bin/../../pypy/interpreter/baseobjspace.py line 725
  91.  
  92. ==> return self.FrameClass(self, code, w_globals, outer_func)
  93.  
  94. Known variable annotations:
  95. self_4 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
  96.  
  97. Blocked block -- operation cannot succeed
  98.  
  99. v31 = getattr(space_8, ('sequence_contains'))
  100.  
  101. In <FunctionGraph of (pypy.module.__builtin__.functional:535)W_Range.descr_contains at 0x45901e0>:
  102. Happened at file pypy/bin/../../pypy/module/__builtin__/functional.py line 540
  103.  
  104. ==> return space.sequence_contains(self, w_item)
  105.  
  106. Known variable annotations:
  107. space_8 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
  108.  
  109. Blocked block -- operation cannot succeed
  110.  
  111. v32 = getattr(space_9, ('sequence_count'))
  112.  
  113. In <FunctionGraph of (pypy.module.__builtin__.functional:542)W_Range.descr_count at 0x4865cc8>:
  114. Happened at file pypy/bin/../../pypy/module/__builtin__/functional.py line 547
  115.  
  116. ==> return space.sequence_count(self, w_item)
  117.  
  118. Known variable annotations:
  119. space_9 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
  120.  
  121. Blocked block -- operation cannot succeed
  122.  
  123. v33 = getattr(space_10, ('sequence_index'))
  124.  
  125. In <FunctionGraph of (pypy.module.__builtin__.functional:549)W_Range.descr_index at 0x48589f8>:
  126. Happened at file pypy/bin/../../pypy/module/__builtin__/functional.py line 553
  127.  
  128. ==> return space.sequence_index(self, w_item)
  129.  
  130. Known variable annotations:
  131. space_10 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
  132.  
  133. Blocked block -- operation cannot succeed
  134.  
  135. v35 = getattr(v34, ('getitem'))
  136.  
  137. In <FunctionGraph of (pypy.objspace.std.listobject:299)W_ListObject.getitem at 0x3511520>:
  138. Happened at file pypy/bin/../../pypy/objspace/std/listobject.py line 303
  139.  
  140. ==> return self.strategy.getitem(self, index)
  141.  
  142. Known variable annotations:
  143. v34 = SomeNone()
  144.  
  145. Blocked block -- operation cannot succeed
  146.  
  147. v36 = getattr(space_11, ('lookup_in_type_starting_at'))
  148.  
  149. In <FunctionGraph of (pypy.module.__builtin__.descriptor:55)W_Super.getattribute at 0x47de758>:
  150. Happened at file pypy/bin/../../pypy/module/__builtin__/descriptor.py line 61
  151.  
  152. ==> w_value = space.lookup_in_type_starting_at(self.w_objtype,
  153. self.w_starttype,
  154. name)
  155. if w_value is not None:
  156.  
  157. Known variable annotations:
  158. space_11 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
  159.  
  160. Blocked block -- operation cannot succeed
  161.  
  162. v38 = getattr(v37, ('get_w_globals'))
  163.  
  164. In <FunctionGraph of (pypy.module.__builtin__.interp_inspect:2)globals at 0x4b75f68>:
  165. Happened at file pypy/bin/../../pypy/module/__builtin__/interp_inspect.py line 5
  166.  
  167. ec = space.getexecutioncontext()
  168. ==> return ec.gettopframe_nohidden().get_w_globals()
  169.  
  170. Known variable annotations:
  171. v37 = SomeNone()
  172.  
  173. Blocked block -- operation cannot succeed
  174.  
  175. v40 = getattr(v39, ('getdictscope'))
  176.  
  177. In <FunctionGraph of (pypy.module.__builtin__.interp_inspect:7)locals at 0x4b93d00>:
  178. Happened at file pypy/bin/../../pypy/module/__builtin__/interp_inspect.py line 11
  179.  
  180. ec = space.getexecutioncontext()
  181. ==> return ec.gettopframe_nohidden().getdictscope()
  182.  
  183. Known variable annotations:
  184. v39 = SomeNone()
  185.  
  186. Blocked block -- operation cannot succeed
  187.  
  188. v41 = getattr(space_12, ('newfrozenset'))
  189.  
  190. In <FunctionGraph of (pypy.interpreter.pycode:468)_convert_const at 0x5434918>:
  191. Happened at file pypy/bin/../../pypy/interpreter/pycode.py line 489
  192.  
  193. ==> return space.newfrozenset(elements_w)
  194.  
  195. Known variable annotations:
  196. space_12 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
  197.  
  198. Blocked block -- operation cannot succeed
  199.  
  200. v42 = getattr(frame_0, ('exec_'))
  201.  
  202. In <FunctionGraph of (pypy.module.__builtin__.compiling:95)exec_ at 0x2b84fa8>:
  203. Happened at file pypy/bin/../../pypy/module/__builtin__/compiling.py line 97
  204.  
  205. frame = space.getexecutioncontext().gettopframe()
  206. ==> frame.exec_(w_prog, w_globals, w_locals)
  207.  
  208. Known variable annotations:
  209. frame_0 = SomeNone()
  210.  
  211. > /home/yannick/pypy/rpython/annotator/annrpython.py(257)complete()
  212. -> raise annmodel.AnnotatorError(text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement