On 13/05/2020 15:22, chris.the.develope...@gmail.com wrote:
How adverse would you guys feel about a change to the way asserts are
handled so that they are not recoverable? Asserts could latch on to
the first failed assert and always throw an AssertionError on
subsequent assert statements. Another way would be for subsequent
asserts to turn off after the first failure.

As long as developers keep the contract that asserts should never
fail, they wont notice this change; and it blocks developers from
writing code that is dependent on asserts.

I'm sorry, I don't see the use case. Unless by "writing code that is dependent on asserts" you mean something I'm going to disapprove of strongly :-)

--
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/SPATIIQ3UUKNWFZKNCLLBCYHLMQAMKLA/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to