R. David Murray added the comment:

This is by design.  If you want to load the application module, you have to do 
so explicitly:

  import email.mime.application

This is similar to the way many other packages are organized.  An __init__ file 
importing a submodule is the (relatively) exceptional case rather than the 
common case.  This is so that applications that do not need particular 
submodules do not incur the performance and memory hit of importing those 
submodules implicitly.

----------
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

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

Reply via email to