[docs] [issue32353] Add docs about Embedding with an frozen module limitation.

Decorater report at bugs.python.org
Sun Dec 17 15:09:34 EST 2017


New submission from Decorater <seandhunt_7 at yahoo.com>:

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.

----------
assignee: docs at python
components: Documentation
messages: 308497
nosy: Decorater, docs at python
priority: normal
severity: normal
status: open
title: Add docs about Embedding with an frozen module limitation.
versions: Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32353>
_______________________________________


More information about the docs mailing list