On 10/09/2021 23:38, Juancarlo Añez wrote:


Following with the ideas on this thread, it would be possible for -OO to turn off only assertions with exceptions that descend from AssertionError.


I think this would be confusing, as contrasted with the simple rule that -OO turns off assertions.
Best wishes
Rob Cliffe
_______________________________________________
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/7M6CSB2YND3526F73N3E4J4XRSCJHKZC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to