embedded python and endless loops

Stuart D. Gathman stuart at bmsi.com
Fri Mar 7 10:05:29 EST 2003


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.  :-) :-)

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the Python-list mailing list