On 26/09/20 5:27 am, Wes Turner wrote:
Safe coding styles (in other languages) do specify that *there may not be any unhandled exceptions*.
I don't think a blind rule like that actually makes a program any safer. It encourages a coding style that covers up problems and carries on to produce garbage, rather than bringing the problem to someone's attention. The Ariane V incident is sometimes cited as an example of what can happen if you fail to handle exceptions. But "handling" the exception in that case wouldn't have helped -- the program was being fed invalid inputs, and whatever it did, some kind of disaster would have occurred. -- Greg _______________________________________________ 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/ZT6F7RMTENC7KXOH4NUOK6K3N5MLO7M2/ Code of Conduct: http://python.org/psf/codeofconduct/