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

noreply@sourceforge.net noreply@sourceforge.net
Tue, 03 Sep 2002 12:27:16 -0700


Bugs item #597797, was opened at 2002-08-20 11: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: 3
Submitted By: Jim Hickey (gohickey)
>Assigned to: Guido van Rossum (gvanrossum)
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.

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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-09-03 15:27

Message:
Logged In: YES 
user_id=6380

I don't understand this report. I *do* get an error about
exec*() arguments.

Can you show an example of this bad behavior,  and indicate
what you'd like it to do instead?

If I don't get a response within a week, I'll close this bug
report as Invalid.

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

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