New submission from Campbell Barton :
Some parts of the python api expect __main__ module dictionary to be the namespace when executing a script, this is true when running a python script from the python binary but NOT true when running a compiled script from the C/API which can lead to bugs which are not easy to solve unless the C/API author knows this.
----------
assignee: docs@python
components: Documentation
files: doc_py3_main_mod.diff
keywords: patch
messages: 112706
nosy: docs@python, ideasman42
priority: normal
severity: normal
status: open
title: Python C/API Execution namespace undocumented. (patch included)
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file18357/doc_py3_main_mod.diff
_______________________________________
Python tracker
http://bugs.python.org/issue9499
_______________________________________