This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Dima.Tisnek, Mariatta, davide.rizzo, docs@python, ezio.melotti, ncoghlan, nedbat, r.david.murray
Date 2016-10-05.15:25:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475681152.17.0.451212925956.issue24632@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-10-05 15:25:52ncoghlansetrecipients: + ncoghlan, nedbat, ezio.melotti, r.david.murray, docs@python, davide.rizzo, Dima.Tisnek, Mariatta
2016-10-05 15:25:52ncoghlansetmessageid: <1475681152.17.0.451212925956.issue24632@psf.upfronthosting.co.za>
2016-10-05 15:25:52ncoghlanlinkissue24632 messages
2016-10-05 15:25:52ncoghlancreate