[Python-bugs-list] [ python-Bugs-597797 ] exec*() doesn't handle errors well

noreply@sourceforge.net noreply@sourceforge.net
Tue, 20 Aug 2002 08:38:00 -0700


Bugs item #597797, was opened at 2002-08-20 08:38
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=597797&group_id=5470

Category: Python Library
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim Hickey (gohickey)
Assigned to: Nobody/Anonymous (nobody)
Summary: exec*() doesn't handle errors well

Initial Comment:
If an error occurs in exec*(), (such as bad parameters, 
etc.) exec*() returns to the caller.  exec*() is not 
supposed to return.  Throwing an exception would be a 
better way to handle errors.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=597797&group_id=5470