Message178945
David, the "issue" is that Python only allows relative imports within packages. The OP wants to have a.py and b.py in the same directory and then be able to said "from . import b" in the a module.
This is a design decision and will not change without a PEP. |
|
Date |
User |
Action |
Args |
2013-01-03 14:01:05 | georg.brandl | set | recipients:
+ georg.brandl, ncoghlan, r.david.murray, Fixpythonbugs |
2013-01-03 14:01:05 | georg.brandl | set | messageid: <1357221665.8.0.790523934634.issue16846@psf.upfronthosting.co.za> |
2013-01-03 14:01:05 | georg.brandl | link | issue16846 messages |
2013-01-03 14:01:05 | georg.brandl | create | |
|