faulkner wrote:
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496746
> When you think of modifying the interpreter, think of the compiler
> module.
This seems a good solutions. Does it works correctly and safely ?
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin wrote:
> "Gabriele *darkbard* Farina" <[EMAIL PROTECTED]> writes:
> > Using a separate interpreter could be a solution, but restarting any
> > time the interpreter give me too much overhead and the application will
> > work as slow as a CGI app even if it runs using FastCGI.
>
> How man
Gabriele *darkbard* Farina wrote:
> The first attempt to reach my goal was to override the __import__
> function to limit it working on modules that can be used and on custom
> import directories that can be accessed. Then I executed the scripts
> using exec. There is any security problem related t
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496746
When you think of modifying the interpreter, think of the compiler
module.
Gabriele *darkbard* Farina wrote:
> Hi,
>
> I saw the rexec module is deprecated. I need to develop a python
> application able to run custom python code based
"Gabriele *darkbard* Farina" <[EMAIL PROTECTED]> writes:
> Using a separate interpreter could be a solution, but restarting any
> time the interpreter give me too much overhead and the application will
> work as slow as a CGI app even if it runs using FastCGI.
How many users are you talking about?
Using a separate interpreter could be a solution, but restarting any
time the interpreter give me too much overhead and the application will
work as slow as a CGI app even if it runs using FastCGI.
Can't I put the interpreter to the starting state any time it finishes
a script execution without re
"Gabriele *darkbard* Farina" <[EMAIL PROTECTED]> writes:
> There is a way to reach this point without using rexec?
Not without a totally separate interpreter. If rexec were so easy
to fix, they'd fix it.
> There is a way to start a python interpreter from python to run the
> scripts?
Of course
Hi,
I saw the rexec module is deprecated. I need to develop a python
application able to run custom python code based on a configuration
file that tells the path of the script that have to be executed. Those
scripts can be runned simultaneously trought threading module, but the
MUST not have any w