1 Analysis of the PyPy Interpreter
2 ================================
3
4 Analysis of PyPy is likely to be rather difficult because the method of
5 collecting information about the interpreter's behaviour and characteristics
6 initially involves introspection of the loaded program, thus taking advantage
7 of the capabilities of any existing Python interpreter implementation.
8
9 Program used for analysis: pypy/pypy/bin/py.py
10
11 Errors
12 ------
13
14 Error in 'pypy.rpython.ootypesystem.ootype' at line 1048: Base class
15 CallFunc(Name('_null_mixin'), [Name('_instance')], None, None)
16 for 'pypy.rpython.ootypesystem.ootype._null_instance' is not found: it may be
17 hidden in some way.
18
19 Fixed by redefining _null_mixin and parameterising it in subclasses that are then used.
20
21 Error in 'pypy.annotation.binaryop' at line 64: Base class
22 CallFunc(Name('pairtype'), [Name('SomeObject'), Name('SomeObject')], None, None)
23 for 'pypy.annotation.binaryop.__extend__' is not found: it may be hidden in
24 some way.
25
26 Caused by usage of pypy.tool.pairtype which uses the __new__ method.
27 Micropython does not support the metaclass tricks suggested in the offending
28 module.