Greg Ewing wrote:
> Nick Coghlan wrote:
> 
>> If yes, then you can get to object(), and hence to pretty much whatever C 
>> builtins you want.
> 
> Perhaps instead of attributes like __class__ and __subtypes__
> there should be functions like classof() and subtypes() that
> could be excluded from a restricted environment.

Even as properties and methods, they can be restricted, like func_code is now.

Georg

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to