This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: exec*() doesn't handle errors well
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gohickey, gvanrossum
Priority: low Keywords:

Created on 2002-08-20 15:38 by gohickey, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (3)
msg12062 - (view) Author: Jim Hickey (gohickey) Date: 2002-08-20 15:38
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.
msg12063 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-09-03 19:27
Logged In: YES 

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.
msg12064 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-09-23 16:33
Logged In: YES 

I've waited a month in vain for additional feedback. Closing
Date User Action Args
2022-04-10 16:05:36adminsetgithub: 37062
2002-08-20 15:38:00gohickeycreate