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: Add docs about Embedding with an frozen module limitation.
Type: Stage: patch review
Components: Documentation Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Decorater, docs@python
Priority: normal Keywords: patch

Created on 2017-12-17 20:09 by Decorater, last changed 2022-04-11 14:58 by admin.

Pull Requests
URL Status Linked Edit
PR 4910 open Decorater, 2017-12-17 20:09
Messages (1)
msg308497 - (view) Author: Decorater (Decorater) * Date: 2017-12-17 20:09
It seems that 1 thing that bites me is that there is no section on the embedding docs about limitations to using frozen modules in them.

So lets say for example your program has this like in the main function on an embedded python:

```c
  PyRun_SimpleString("import mymodule");
```

And lets say ``mymodule`` is supposed to be an frozen module in that embedded interpreter named ``myprogram``

It would fail to work because it wont be able to find ``mymodule`` when it really should. This doc change should help fix that senerio and hopefully suggest an fix to that senerio as well.
History
Date User Action Args
2022-04-11 14:58:55adminsetgithub: 76534
2017-12-17 20:09:59Decoratersetkeywords: + patch
stage: patch review
pull_requests: + pull_request4804
2017-12-17 20:09:34Decoratercreate