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 terry.reedy
Recipients Decorater, brett.cannon, eric.snow, gvanrossum, ncoghlan, r.david.murray, terry.reedy
Date 2016-07-15.08:36:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468571760.6.0.248090267317.issue27515@psf.upfronthosting.co.za>
In-reply-to
Content
Guido: I am aware that 'import tkinter.font' can create 0, 1, or 2 new modules and 0, 1, or 2 new name bindings, one in the *importing* module and one in the *imported* module. You are correct that point 2 in the doc only talks about the importing module, making my paraphrase not correct for dotted names.  For the latter, the doc says.

"If the module being imported is not a top level module, then the name of the top level package that contains the module is bound in the local namespace as a reference to the top level package. The imported module must be accessed using its full qualified name rather than directly."

To me, this implies that the top level and intermediate packages will be modified as needed so that the 'full qualified name' works.
History
Date User Action Args
2016-07-15 08:36:00terry.reedysetrecipients: + terry.reedy, gvanrossum, brett.cannon, ncoghlan, r.david.murray, eric.snow, Decorater
2016-07-15 08:36:00terry.reedysetmessageid: <1468571760.6.0.248090267317.issue27515@psf.upfronthosting.co.za>
2016-07-15 08:36:00terry.reedylinkissue27515 messages
2016-07-15 08:36:00terry.reedycreate