Message145606
| Author |
pitrou |
| Recipients |
ncoghlan, pitrou |
| Date |
2011年10月15日.20:28:44 |
| SpamBayes Score |
1.7539222e-07 |
| Marked as misclassified |
No |
| Message-id |
<1318710525.2.0.403840698833.issue13187@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is, to say the least, annoying.
$ mkdir mypackage
$ touch mypackage/__init__.py
$ echo "from . import b" > mypackage/a.py
$ echo "from . import a" > mypackage/b.py
$ ./python -c "import mypackage.a"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "mypackage/a.py", line 1, in <module>
from . import b
File "mypackage/b.py", line 1, in <module>
from . import a
ImportError: cannot import name a |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年10月15日 20:28:45 | pitrou | set | recipients:
+ pitrou, ncoghlan |
| 2011年10月15日 20:28:45 | pitrou | set | messageid: <1318710525.2.0.403840698833.issue13187@psf.upfronthosting.co.za> |
| 2011年10月15日 20:28:44 | pitrou | link | issue13187 messages |
| 2011年10月15日 20:28:44 | pitrou | create |
|