kj wrote:
Wow. As rationales for syntax constructs go, this has got to be the most subtle one I've ever seen...
It's to avoid masking bugs. Suppose you accidentally
wrote
try:
v = mumble.field
sys.warming('field was actually there?')
except AttributeError:
pass
Then you could easily fail to notice that
you had written 'warming' instead of 'warning'.
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
