# HG changeset patch # User Paul Boddie # Date 1339707203 -7200 # Node ID e297c6ae4b7c228e7b207d6a30e167f688f4fbc2 # Parent 8dadbb830899f8e5fdc6b87a248f105ce81f9157 Added notes about the analysis of PyPy's interpreter code. diff -r 8dadbb830899 -r e297c6ae4b7c docs/rpython.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/rpython.txt Thu Jun 14 22:53:23 2012 +0200 @@ -0,0 +1,23 @@ +Analysis of the PyPy Interpreter +================================ + +Program used for analysis: pypy/pypy/bin/py.py + +Errors +------ + +Error in 'pypy.rpython.ootypesystem.ootype' at line 1048: Base class +CallFunc(Name('_null_mixin'), [Name('_instance')], None, None) +for 'pypy.rpython.ootypesystem.ootype._null_instance' is not found: it may be +hidden in some way. + + Fixed by redefining _null_mixin and parameterising it in subclasses that are then used. + +Error in 'pypy.annotation.binaryop' at line 64: Base class +CallFunc(Name('pairtype'), [Name('SomeObject'), Name('SomeObject')], None, None) +for 'pypy.annotation.binaryop.__extend__' is not found: it may be hidden in +some way. + + Caused by usage of pypy.tool.pairtype which uses the __new__ method. + Micropython does not support the metaclass tricks suggested in the offending + module.