[docs] [issue24632] Improve documentation about __main__.py
Nick Coghlan
report at bugs.python.org
Wed Oct 5 11:25:52 EDT 2016
Nick Coghlan added the comment:
In the same vein of "I never worked out a good offical home for it", a couple of the "Traps for the Unwary" I describe for Python's import system are closely related to __main__ module execution and the impact that has on sys.path and sys.modules:
* http://python-notes.curiousefficiency.org/en/latest/python_concepts/import_traps.html#the-double-import-trap
* http://python-notes.curiousefficiency.org/en/latest/python_concepts/import_traps.html#executing-the-main-module-twice
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24632>
_______________________________________
More information about the docs
mailing list