embedded python and endless loops

Simon Foster simon at uggs.demon.co.uk
Sat Mar 8 02:43:41 CET 2003


On Fri, 07 Mar 2003 15:05:29 GMT, "Stuart D. Gathman"
<stuart at bmsi.com> wrote:

>On Thu, 06 Mar 2003 16:35:07 -0500, Mike Weiss wrote:
>
>> My C++ program (a Windows-based server application) uses embedded Python
>> (2.2) to execute user-defined scripts. Recently end-users have coded (by
>> mistake) endless loops which, when run, hang my app.
> 
>Before executing any user script, have your program verify that it will
>terminate.  :-) :-)

QED
GEB!
--
Simon Foster
Somewhere in the West of England




More information about the Python-list mailing list