I have a project like that :
foo/
| main.py
| bar/
| | module1.py
| | module2.py
| | __init__.py
with main.py
doing import bar.module1
and module1.py
doing import module2
.
This works using python 2.6 but not with python 3.1 (ImportError: No module named module2
)
Why did the behaviour change ? How to restore it ?