Terry J. Reedy added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27515>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to