Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/pypy$ ~/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' ------
- %%%**%%#**************
- ....++++++++++++****
- ------ seeing typedef 'builtin-code' ------
- *******************%%%%%%%%%%%%%%%%%%%%############%################################%%%%%%##%%%##%%************
- .+++++++++++
- ------ seeing typedef 'range' ------
- +******************%%%%
- ------ seeing typedef 'rangeiterator' ------
- %%%%%%%%%%%%%%%%%%%%%%%%%%#############
- ------ 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 'method' ------
- %********
- ++++++++*****
- ------ seeing typedef 'property' ------
- *********%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#############################################################%%%%%%%%%%%*****
- ++++++*************%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%############################################################%%%%%%%%%%%%%**
- ++++************%%%%%##%%%%%%%%%%%%#%%%%%%%%%%%%%%%%################################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 416, in translates
- ann.complete()
- File "pypy/bin/../../rpython/annotator/annrpython.py", line 257, in complete
- raise annmodel.AnnotatorError(text)
- AnnotatorError:
- Blocked block -- operation cannot succeed
- v29 = getattr(v28, ('compiler_flags'))
- In <FunctionGraph of (pypy.module.__builtin__.compiling:13)compile at 0x153d6e0>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/compiling.py line 32
- ec = space.getexecutioncontext()
- if flags & ~(ec.compiler.compiler_flags | consts.PyCF_ONLY_AST |
- ==> consts.PyCF_DONT_IMPLY_DEDENT | consts.PyCF_SOURCE_IS_UTF8 |
- consts.PyCF_ACCEPT_NULL_BYTES):
- Known variable annotations:
- v28 = SomeInstance(can_be_None=False, classdef=pypy.objspace.fake.objspace.FakeCompiler, const=<pypy.objspace.fake.objspace.FakeCompiler object at 0x00000000013e9948>)
- Blocked block -- operation cannot succeed
- v30 = getattr(self_4, ('FrameClass'))
- In <FunctionGraph of (pypy.interpreter.baseobjspace:723)ObjSpace.createframe at 0x447cd40>:
- Happened at file pypy/bin/../../pypy/interpreter/baseobjspace.py line 725
- ==> return self.FrameClass(self, code, w_globals, outer_func)
- Known variable annotations:
- self_4 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
- Blocked block -- operation cannot succeed
- v31 = getattr(space_8, ('sequence_contains'))
- In <FunctionGraph of (pypy.module.__builtin__.functional:535)W_Range.descr_contains at 0x45901e0>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/functional.py line 540
- ==> return space.sequence_contains(self, w_item)
- Known variable annotations:
- space_8 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
- Blocked block -- operation cannot succeed
- v32 = getattr(space_9, ('sequence_count'))
- In <FunctionGraph of (pypy.module.__builtin__.functional:542)W_Range.descr_count at 0x4865cc8>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/functional.py line 547
- ==> return space.sequence_count(self, w_item)
- Known variable annotations:
- space_9 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
- Blocked block -- operation cannot succeed
- v33 = getattr(space_10, ('sequence_index'))
- In <FunctionGraph of (pypy.module.__builtin__.functional:549)W_Range.descr_index at 0x48589f8>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/functional.py line 553
- ==> return space.sequence_index(self, w_item)
- Known variable annotations:
- space_10 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
- Blocked block -- operation cannot succeed
- v35 = getattr(v34, ('getitem'))
- In <FunctionGraph of (pypy.objspace.std.listobject:299)W_ListObject.getitem at 0x3511520>:
- Happened at file pypy/bin/../../pypy/objspace/std/listobject.py line 303
- ==> return self.strategy.getitem(self, index)
- Known variable annotations:
- v34 = SomeNone()
- Blocked block -- operation cannot succeed
- v36 = getattr(space_11, ('lookup_in_type_starting_at'))
- In <FunctionGraph of (pypy.module.__builtin__.descriptor:55)W_Super.getattribute at 0x47de758>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/descriptor.py line 61
- ==> w_value = space.lookup_in_type_starting_at(self.w_objtype,
- self.w_starttype,
- name)
- if w_value is not None:
- Known variable annotations:
- space_11 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
- Blocked block -- operation cannot succeed
- v38 = getattr(v37, ('get_w_globals'))
- In <FunctionGraph of (pypy.module.__builtin__.interp_inspect:2)globals at 0x4b75f68>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/interp_inspect.py line 5
- ec = space.getexecutioncontext()
- ==> return ec.gettopframe_nohidden().get_w_globals()
- Known variable annotations:
- v37 = SomeNone()
- Blocked block -- operation cannot succeed
- v40 = getattr(v39, ('getdictscope'))
- In <FunctionGraph of (pypy.module.__builtin__.interp_inspect:7)locals at 0x4b93d00>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/interp_inspect.py line 11
- ec = space.getexecutioncontext()
- ==> return ec.gettopframe_nohidden().getdictscope()
- Known variable annotations:
- v39 = SomeNone()
- Blocked block -- operation cannot succeed
- v41 = getattr(space_12, ('newfrozenset'))
- In <FunctionGraph of (pypy.interpreter.pycode:468)_convert_const at 0x5434918>:
- Happened at file pypy/bin/../../pypy/interpreter/pycode.py line 489
- ==> return space.newfrozenset(elements_w)
- Known variable annotations:
- space_12 = SomePBC(can_be_None=False, const=FakeObjSpace, subset_of=None)
- Blocked block -- operation cannot succeed
- v42 = getattr(frame_0, ('exec_'))
- In <FunctionGraph of (pypy.module.__builtin__.compiling:95)exec_ at 0x2b84fa8>:
- Happened at file pypy/bin/../../pypy/module/__builtin__/compiling.py line 97
- frame = space.getexecutioncontext().gettopframe()
- ==> frame.exec_(w_prog, w_globals, w_locals)
- Known variable annotations:
- frame_0 = SomeNone()
- > /home/yannick/pypy/rpython/annotator/annrpython.py(257)complete()
- -> raise annmodel.AnnotatorError(text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement