On Fri, Jun 18, 2010 at 05:56:07PM +0000, Luke Kenneth Casson Leighton wrote:
>  rexec, regardless of the "breakage", actually had other benefits,
> most notably demonstrated by overloading import to allow scripts to be
> loaded out of sql databases rather than off the filesystem, on-demand.
>  whether sandboxing was broken or not was completely irrelevant, as
> far as the overriding / sub-classing of rexec was concerned.

Shouldn't this be possible in a clean way with a PEP 302 import hook?

Regards
Floris

-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
_______________________________________________
EuroPython 2010 - Birmingham, 17-24 July 2010 - http://www.europython2010.eu
EuroPython mailing list
EuroPython@python.org
http://mail.python.org/mailman/listinfo/europython

Reply via email to