Title: Python C/API Execution namespace undocumented. (patch included)
Type: behavior Stage:
Components: Documentation Versions: Python 3.2
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, ideasman42
Priority: normal Keywords: patch

Created on 2010-08-03 22:12 by ideasman42, last changed 2019-03-15 23:22 by BreamoreBoy.

File name Uploaded Description Edit
doc_py3_main_mod.diff ideasman42, 2010-08-03 22:12 Patch against r83689.
Messages (2)
msg112706 - (view) Author: Campbell Barton (ideasman42) * Date: 2010-08-03 22:12
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.
msg220846 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-17 17:59
Can somebody review this small patch please.
Date User Action Args
2019-03-15 23:22:34BreamoreBoysetnosy: - BreamoreBoy
2014-06-17 17:59:17BreamoreBoysetnosy: + BreamoreBoy
messages: + msg220846
2010-08-03 22:12:12ideasman42create