On Sat, May 7, 2011 at 11:04 PM, John O'Hagan 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, pack1.mod1 and
>> p
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 "impor
On Sat, May 7, 2011 at 4:02 AM, dmitrey 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:
> http://groups.goo
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:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/961a90219a61e