How to optimised with embedded Python ?

John J. Lee jjl at pobox.com
Fri Feb 6 20:02:17 EST 2004


Emmanuel <eastier at free.fr> writes:
> "John J. Lee" a écrit :
> > Emmanuel <eastier at free.fr> writes:
[...]
> > > How do I set the compiler, from the C api, to create optimised files ?
> >
> > There's a "compileall" script in the source distribution that should
> > show you how to do it.
[...]
> Actually, I found a solution :
> Just after the python initialize, I increment Py_OptimsedFlag :
[...]

Oh, sorry, I completely misread your question.  I missed the "C API"
bit...


John



More information about the Python-list mailing list