On 19/04/2021 22:01, Antoine Pitrou wrote:
Almost nobody uses -O. Optimizations that are enabled only in -O are
useless.
Data point: I use -O.¹ Not frequently, not usually, but I have a few
large² programs that I add features to from time to time and will
doubtless continue to do so. I need their __debug__-enabled diagnostics
and asserts during development and testing. When I run them "for real",
I use -O.
Of course, since I never use annotations, type hints or whatever, this
may not be very relevant to this thread.
Best wishes
Rob Cliffe
¹ Which makes me "almost nobody" - well, I knew that already. 😁
² Your idea of "large" may not be the same as mine - I'm talking a few
thousand lines.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/Y7QURU4NES4WCBSHOGXZV4B4ZHD2UC27/
Code of Conduct: http://python.org/psf/codeofconduct/