Another scripting language implemented into Python itself?

Nick Coghlan ncoghlan at iinet.net.au
Tue Jan 25 09:53:01 EST 2005


Fuzzyman wrote:
> An implementation of the core language semantics - without any modules
> or file operations would be dead useful.
> 
> It could replace some of the function of the long dead rexec modules as
> well as support projects like this.

Securing a custom build of the CPython interpreter would probably be 
significantly easier than designing a 'secure mode' that ran on top of the 
standard version. The former might even be a stepping stone towards the latter.

Still not easy though (the main task would be to prevent Python code from 
accessing the OS, while still allowing module imports to work).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list