On 5/13/20 2:03 PM, Rhodri James wrote: > 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. > My thought was he just needs to add that case to the unit tests.
-- Richard Damon _______________________________________________ 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/GZ6HB5YRGIF3GGWEXLBLZM6IWYMGNV2X/ Code of Conduct: http://python.org/psf/codeofconduct/