Message166428
| 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:23 | Tyler.Crompton | set | recipients:
+ Tyler.Crompton, ncoghlan, Arfrever, ethan.furman |
| 2012年07月25日 21:46:22 | Tyler.Crompton | set | messageid: <1343252782.96.0.169605370587.issue15209@psf.upfronthosting.co.za> |
| 2012年07月25日 21:46:22 | Tyler.Crompton | link | issue15209 messages |
| 2012年07月25日 21:46:22 | Tyler.Crompton | create |
|