Also, if you take a look at gateway.py, you can see that type is being called. 
Does the interpreter treat class definitions and calls to type differently?

https://bitbucket.org/pypy/pypy/src/94737f156c30/pypy/interpreter/gateway.py

Alex


On Dec 9, 2011, at 8:22 PM, Benjamin Peterson wrote:

> 2011/12/9 Alexander Golec <[email protected]>:
>> So at no point reachable from the entry_point (or is it run?) of the program 
>> can you create classes and functions?
> 
> All the classes that there will ever by instances of in the RPython
> program are known at translation.
> 
> 
> 
> -- 
> Regards,
> Benjamin

_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to