On Sat, 7 May 2011, Ian Kelly wrote:
[...]
Implicit relative imports were removed in Python 3 to prevent
ambiguity as the number of packages grows. See PEP 328.
If you have two modules in the same package, pack1.mod1 and
pack1.mod2, then in pack1.mod1 you can no longer just do import
On Sat, May 7, 2011 at 11:04 PM, John O'Hagan resea...@johnohagan.com wrote:
On Sat, 7 May 2011, Ian Kelly wrote:
[...]
Implicit relative imports were removed in Python 3 to prevent
ambiguity as the number of packages grows. See PEP 328.
If you have two modules in the same package,
hi all,
I try to port my code to Python 3 and somehow files don't see files
from same directory, so I have to add those directories explicitly,
e.g.
import sys
sys.path += [...]
Also, it leads to bugs like this one:
On Sat, May 7, 2011 at 4:02 AM, dmitrey dmitre...@gmail.com wrote:
hi all,
I try to port my code to Python 3 and somehow files don't see files
from same directory, so I have to add those directories explicitly,
e.g.
import sys
sys.path += [...]
Also, it leads to bugs like this one: