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 r.david.murray
Recipients r.david.murray, yinian1992
Date 2012-10-05.20:24:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349468678.29.0.413331162457.issue16146@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-10-05 20:24:38r.david.murraysetrecipients: + r.david.murray, yinian1992
2012-10-05 20:24:38r.david.murraysetmessageid: <1349468678.29.0.413331162457.issue16146@psf.upfronthosting.co.za>
2012-10-05 20:24:38r.david.murraylinkissue16146 messages
2012-10-05 20:24:37r.david.murraycreate