On this embedded Linux machine, I have the Python 3.3 distribution installed, which by default has an optimization option -O. This has the following effects:
-O
.pyo
.pyc
assert
__debug__
False
Is there a way to disable basic optimization on the command line? I tried setting PYTHONOPTIMIZEto an empty string, but this has no effect.
PYTHONOPTIMIZE
Python Yocto, (Py_OptimizeFlag 1, 0).
Py_OptimizeFlag
1
0
Python -N ( Python).
-N
, , -N, Python, Yocto ( Karoly Horvath).
Source: https://habr.com/ru/post/1016332/More articles:Enabling text selection on the Extjs tab - extjsPython 3 in Yocto is very slow on Raspberry Pi - pythonHow to install local modules? - perl6React Native Text Input Clear Doesn't clear text - react-nativeCombine multiple arrays into an array of objects in JavaScript - javascriptSpecialCells (xlCellTypeVisible) does not work in UDF - vbaReact-native: when sending text input to android, the sentence of the word is not cleared - androidVBA function in visible range only - excel-vbaHow to scroll down to the exact item in appium 1.6.4 beta in iOS using Java - appium-iosCocoapods: the target has transitive dependencies that include static binaries when installing 'VialerSIPLib' - iosAll Articles