Chris Angelico writes: > but at very least, if it isn't *obvious*, it should at least be > *unsurprising* if you then get UnboundLocalError.
+1 I think this (== "obvious in hindsight") is probably a better criterion than "obvious" (from the definition) when an error *will* be raised. (That's as a general principle. Ie, it doesn't need to be obvious that you will *get* feedback from the system when you do something, but it should be obvious what the feedback means when you *do* get it.) Steve _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/CTTX7MXMYMZEMDGZ3WF7Q5IHMT5JEWWD/ Code of Conduct: http://python.org/psf/codeofconduct/