This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients asvetlov, docs@python
Date 2012-10-31.10:50:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351680651.66.0.846831134298.issue16370@psf.upfronthosting.co.za>
In-reply-to
Content
On Fri, Oct 26, 2012 at 12:02 AM, Tom Epperly <epperly2@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
History
Date User Action Args
2012-10-31 10:50:51asvetlovsetrecipients: + asvetlov, docs@python
2012-10-31 10:50:51asvetlovsetmessageid: <1351680651.66.0.846831134298.issue16370@psf.upfronthosting.co.za>
2012-10-31 10:50:51asvetlovlinkissue16370 messages
2012-10-31 10:50:51asvetlovcreate