[docs] Regarding embedding Python in Another Application

Andrew Svetlov andrew.svetlov at gmail.com
Wed Oct 31 11:52:29 CET 2012


I filed http://bugs.python.org/issue16370 for this one.


On Fri, Oct 26, 2012 at 12:02 AM, Tom Epperly <epperly2 at llnl.gov> wrote:

> Regarding this section, http://docs.python.org/**
> extending/embedding.html#very-**high-level-embedding<http://docs.python.org/extending/embedding.html#very-high-level-embedding>,
> according to http://docs.python.org/c-api/**init.html<http://docs.python.org/c-api/init.html>Py_SetProgramName() should be called before Py_Initialize() (see the
> comment for Py_SetProgramName()). This matters for the particular case of
> Mac OS X (see http://mail.python.org/**pipermail/pythonmac-sig/2012-**
> October/023746.html<http://mail.python.org/pipermail/pythonmac-sig/2012-October/023746.html>
> ).
>
> I recommend adding a Py_SetProgramName() to the example.
>
> Regards,
>
> Tom Epperly
> ______________________________**_________________
> docs mailing list
> docs at python.org
> http://mail.python.org/**mailman/listinfo/docs<http://mail.python.org/mailman/listinfo/docs>
>



-- 
Thanks,
Andrew Svetlov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20121031/aba78fb0/attachment.html>


More information about the docs mailing list