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 | brett.cannon |
|---|---|
| Recipients | brett.cannon, hauser |
| Date | 2008年03月19日.18:04:56 |
| SpamBayes Score | 0.054688863 |
| Marked as misclassified | No |
| Message-id | <1205949897.65.0.41172281799.issue2090@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
As you said, it's a hack, so supporting an abuse of the API is not reasonable. You don't have to set the fromlist for the import to work. And if you are doing it to get the tail module, you can write some simple code to use getattr() to walk down from the root module to the one you want. And I plan to add a much simpler API to the imp module for people to use directly so that these abuses don't continue. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年03月19日 18:04:57 | brett.cannon | set | spambayes_score: 0.0546889 -> 0.054688863 recipients: + brett.cannon, hauser |
| 2008年03月19日 18:04:57 | brett.cannon | set | spambayes_score: 0.0546889 -> 0.0546889 messageid: <1205949897.65.0.41172281799.issue2090@psf.upfronthosting.co.za> |
| 2008年03月19日 18:04:56 | brett.cannon | link | issue2090 messages |
| 2008年03月19日 18:04:56 | brett.cannon | create | |