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.

classification
Title: C-API Pure Embedding enhancement
Type: behavior Stage:
Components: C API, Documentation Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Justin Huang, docs@python, vstinner
Priority: normal Keywords:

Created on 2015-07-17 08:10 by Justin Huang, last changed 2022-04-11 14:58 by admin.

Messages (1)
msg246847 - (view) Author: Justin Huang (Justin Huang) Date: 2015-07-17 08:10
From the example in here:

    https://docs.python.org/2/extending/embedding.html#pure-embedding

when directly using the example (compiling and trying with external file etc.) it doesn't work right away. Instead an extra line:

    PySys_SetArgv(argc, argv);

must be added to get it to work.
History
Date User Action Args
2022-04-11 14:58:18adminsetgithub: 68840
2020-06-25 09:34:27vstinnersetcomponents: + C API
2020-05-31 15:08:05serhiy.storchakasetversions: + Python 3.6, Python 3.7, Python 3.8, Python 3.9, Python 3.10, - Python 2.7
nosy: + docs@python, vstinner

assignee: docs@python
components: + Documentation
type: enhancement -> behavior
2015-07-17 08:10:49Justin Huangcreate