[issue16370] Regarding embedding Python in Another Application

2012-10-31 Thread Andrew Svetlov
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

[issue16370] Regarding embedding Python in Another Application

2012-10-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Patch for 2.7 applied, the same text should be for 3.2+ Chris, please check my wording as native English speaker. -- keywords: +patch nosy: +chris.jerdonek Added file: http://bugs.python.org/file27805/issue16370.diff

[issue16370] Regarding embedding Python in Another Application

2012-10-31 Thread Matt Jones
Matt Jones added the comment: Andrew, below is a revision of your comment with a few corrections made by a native english speaker. Function :c:func:`Py_SetProgramName` should be called before :c:func:`Py_Initialize` to inform the interpreter about paths to Python

[issue16370] Regarding embedding Python in Another Application

2012-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e24eb832fb2 by Andrew Svetlov in branch '2.7': Issue #16370: Mention Py_SetProgramName in example for very high level embedding. http://hg.python.org/cpython/rev/6e24eb832fb2 New changeset 4c35f5ec6acf by Andrew Svetlov in branch '3.2': Issue