rexec works strange...

Oleg Broytmann phd at phd.fep.ru
Thu Jun 21 03:54:25 EDT 2001


On Wed, 20 Jun 2001, Alex Martelli wrote:
> But sys.exit() is really innocuous, little more than a raise SystemExit.
>
> Just .r_exec() the untrusted code in the try: clause of a try/except
> that catches everything, as is HIGHLY advisable anyway:-), i.e. with
> a clause of 'except:', and you'll catch SystemExit too.

   I did this advice in my very first message :)

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list