Message143237
| Author | simohe |
|---|---|
| Recipients | simohe |
| Date | 2011-08-30.21:59:21 |
| SpamBayes Score | 0.0002877737 |
| Marked as misclassified | No |
| Message-id | <1314741561.82.0.752843827348.issue12864@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
When the current module is in a package and imports submodules, the following lines are converted to illegal code. -import sub.subsub +from . import sub.subsub -import sub, sub.subsub, sub2 +from . import sub, sub.subsub, sub2 A valid alternative: -import sub.subsub +from .sub import subsub as _dummy -import sub, sub.subsub, sub2 +from . import sub, sub2\nfrom .sub import subsub as _dummy |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-08-30 21:59:21 | simohe | set | recipients: + simohe |
| 2011-08-30 21:59:21 | simohe | set | messageid: <1314741561.82.0.752843827348.issue12864@psf.upfronthosting.co.za> |
| 2011-08-30 21:59:21 | simohe | link | issue12864 messages |
| 2011-08-30 21:59:21 | simohe | create | |