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. This could be making asserts 
not recoverable, making it so you can't stop assert failures from printing to 
stdout, forcing the return code to -1 on process termination if an assert 
fails, or something else.
_______________________________________________
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/OF35XJADIWPES6A54ZBXLIAMN5VPNIG2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to