[Stackless] Restricted execution mode

Hannu Krosing hannu at tm.ee
Sun Oct 12 21:44:24 CEST 2003


Adrián Casajús kirjutas P, 12.10.2003 kell 04:42:
> Hi all,
> 
>    I'm embedding python 2.3 in an app. But how can I make python NOT to run
> in restricted execution mode? I don't want it to compile .py to .pyc
> always. Only when I say to do it.

Compiuling .py to .pyc has nothing to do with restricted mode (which was
dropped from 2.3 and 2.2.3, btw). pYthon will always  compile .py, yhe
question is weather it will save the compiled version as .pyc. One easy
way would be to put the .py's in a read-only directory, so saving the
.pyc will always fail - thus no .pyc.

-----------
Hannu
_______________________________________________
Stackless mailing list
Stackless at www.tismer.com
http://www.tismer.com/mailman/listinfo/stackless




More information about the Stackless mailing list