New submission from Andrew Svetlov: On Fri, Oct 26, 2012 at 12:02 AM, Tom Epperly <epper...@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@python components: Documentation keywords: easy messages: 174269 nosy: asvetlov, docs@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 <rep...@bugs.python.org> <http://bugs.python.org/issue16370> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com