8 May
2021
8 May
'21
9:01 p.m.
On 5/8/21 1:31 PM, Pablo Galindo Salgado wrote:
We can't piggy back on -OO as the only way to disable this, it needs to have an option of its own. -OO is unusable as code that relies on "doc" strings as application data such as http://www.dabeaz.com/ply/ply.html exists.
-OO is the only sensible way to disable the data. There are two things to disable:
* The data in pyc files * Printing the exception highlighting
Why not put in it -O instead? Then -O means lose asserts and lose fine-grained tracebacks, while -OO continues to also strip out doc strings. -- ~Ethan~