chirk
chirk
python-minifier does a few checks to ensure that it's safe to minify variables. I've gathered a short list of things which should probably be checked for, along with the checks...
A possible improvement would be const-folding expressions that would be shorter as a constant value. Example: ```py SOME_VARIABLE = (((123 * 456) + 789) // 10) & 0xabcdef ``` can...
`Py_TRACE_REFS` can be dynamically detected, because it defines `sys.getobjects`. At import time, you could check for `sys.getobjects` and define the extra members on the PyObject struct if it's present.