On 13/05/2020 17:20, chris.the.develope...@gmail.com wrote:
I'm working with developers that have decided to use asserts every time they want to throw an exception. I feel that their should be something that dissuades this behavior in the language design.
I'm sorry, but I think the correct response is to give them a spanking in code review. I certainly wouldn't pass any code that actually relied on assert doing anything.
-- Rhodri James *-* Kynesim Ltd _______________________________________________ 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/GAXWCH5P4A4GP725L55BTVXGKZV4KLHL/ Code of Conduct: http://python.org/psf/codeofconduct/