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.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/PLXOXKACKGXN4ZKISDVXLKMFIETWTF63/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to