[New-bugs-announce] [issue16370] Regarding embedding Python in Another Application
Andrew Svetlov
report at bugs.python.org
Wed Oct 31 11:50:51 CET 2012
New submission from Andrew Svetlov:
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, according to 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).
I recommend adding a Py_SetProgramName() to the example.
Regards,
Tom Epperly
----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 174269
nosy: asvetlov, docs at python
priority: normal
severity: normal
status: open
title: Regarding embedding Python in Another Application
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16370>
_______________________________________
More information about the New-bugs-announce
mailing list