Why did someone write this?
- From: "Sandra-24" <sandravandale@xxxxxxxxx>
- Date: 7 Apr 2006 09:52:04 -0700
try:
exc_type, exc_value, exc_traceback = sys.exc_info()
# Do something
finally:
exc_traceback = None
Why the try/finally with setting exc_traceback to None? The python docs
didn't give me any clue, and I'm wondering what this person knows that
I don't.
Thanks,
-Sandra
.
- Follow-Ups:
- Re: Why did someone write this?
- From: Benjamin Niemann
- Re: Why did someone write this?
- From: skip
- Re: Why did someone write this?
- Prev by Date: Re: UnicodeDecodeError help please?
- Next by Date: Re: UnicodeDecodeError help please?
- Previous by thread: GUI Treeview
- Next by thread: Re: Why did someone write this?
- Index(es):