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.

Author Tyler.Crompton
Recipients Arfrever, Tyler.Crompton, ethan.furman, ncoghlan
Date 2012-07-25.21:46:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343252782.96.0.169605370587.issue15209@psf.upfronthosting.co.za>
In-reply-to
Content
As for the losing valuable debug information, much worse can be done:

import sys

try:
	x
except NameError:
	print('An error occurred.', file=sys.stderr)
	sys.exit(1)

This is obviously not how one should handle errors in development, but it's allowed. As Ethan pointed out, the initial proposal can be recreated by just adding three words which is obviously also allowed.

Nick, I'm not saying you're opinions are wrong, I just wanted to point out how easy it is to throw away valuable information. It's almost futile.
History
Date User Action Args
2012-07-25 21:46:23Tyler.Cromptonsetrecipients: + Tyler.Crompton, ncoghlan, Arfrever, ethan.furman
2012-07-25 21:46:22Tyler.Cromptonsetmessageid: <1343252782.96.0.169605370587.issue15209@psf.upfronthosting.co.za>
2012-07-25 21:46:22Tyler.Cromptonlinkissue15209 messages
2012-07-25 21:46:22Tyler.Cromptoncreate