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 Piotr.Kuchta
Recipients Piotr.Kuchta, ashwch, docs@python, eric.araujo, ezio.melotti, jeffknupp
Date 2013-03-08.16:26:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362760010.95.0.369287575815.issue17383@psf.upfronthosting.co.za>
In-reply-to
Content
Jeff, thank you: that was exactly what I wanted to point out. The three sentences read in order imply that it doesn't matter whether you import a module at the top level of a script/module or in a function, because the effect is the same, namely the imported symbols end up in the global symbol table, and that obviously is not true.
History
Date User Action Args
2013-03-08 16:26:51Piotr.Kuchtasetrecipients: + Piotr.Kuchta, ezio.melotti, eric.araujo, docs@python, jeffknupp, ashwch
2013-03-08 16:26:50Piotr.Kuchtasetmessageid: <1362760010.95.0.369287575815.issue17383@psf.upfronthosting.co.za>
2013-03-08 16:26:50Piotr.Kuchtalinkissue17383 messages
2013-03-08 16:26:50Piotr.Kuchtacreate