[issue1758146] Crash in PyObject_Malloc

Adam Olsen report at bugs.python.org
Wed Jun 4 01:58:30 CEST 2008

Adam Olsen <rhamph at gmail.com> added the comment:

Right, so it's only the python modules loaded as part of the app that
need to be isolated.  You don't need the stdlib or any other part of the
interpreter to be isolated.

This could be done either by not using the normal import mechanism
(build your own on top of exec()) or by some magic to generate a
different root package for each "interpreter" (so you show up in
sys.modules as '_mypkg183.somemodule'.)

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list