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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to