Running PythonNN.DLL as debug or release?

Stephen Kellett snail at objmedia.demon.co.uk
Tue May 24 11:45:21 EDT 2005


>-O     : optimize generated bytecode (a tad; also PYTHONOPTIMIZE=x)
>-OO    : remove doc-strings in addition to the -O optimizations
>...
>
>if you want to use these from your C code, setting the global Py_OptimizeFlag
>to 1 (-O) or 2 (-OO) should work.

Yes that is what I wanted to do. Thank you very much.

Stephen
-- 
Stephen Kellett
Object Media Limited
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting



More information about the Python-list mailing list