[Python-ideas] Dump .pyo and the "optimize" flag
solipsis at pitrou.net
Tue Feb 2 22:05:22 CET 2010
Le mercredi 03 février 2010 à 06:58 +1000, Nick Coghlan a écrit :
> The fact that asserts and if __debug__ blocks get skipped under -O
> strikes me as more than adequate reason to consider optimised and
> non-optimised bytecode as different things.
Well, do people rely on this nowadays?
With unit testing becoming very common (and recommended) practice, I'm
not sure what sprinkling asserts in debug mode really brings.
More information about the Python-ideas