Message172131
| 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:38 | r.david.murray | set | recipients:
+ r.david.murray, yinian1992 |
| 2012年10月05日 20:24:38 | r.david.murray | set | messageid: <1349468678.29.0.413331162457.issue16146@psf.upfronthosting.co.za> |
| 2012年10月05日 20:24:38 | r.david.murray | link | issue16146 messages |
| 2012年10月05日 20:24:37 | r.david.murray | create |
|