rexec and Python 2.5

Tarek Ziadé ziade.tarek at
Sat Oct 14 01:34:55 CEST 2006


I tried to use rexec in Python 2.5, since i've seen that the module was
still present

But it fails, and this code can be found in rexec.RExec init code:

raise RuntimeError, "This code is not secure in Python 2.2 and 2.3"

So, the comment should talk about 2.4 and 2.5 too ? Is this just a forgotten
change ? If so, why it is still deployed in Python ?

I want to embed a Python read-eval-print loop in one of my python program,
so if someone has another way to do it



Tarek Ziadé | Association AfPy |
Site personnel |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list