web2py/web2py — pull request #553 by kjkuan (2014-12-04 20:44:52+00:00)
Title: Make the custom_import work with circular imports.

Although circular imports isn't a good idea, I met this problem while trying to import the `pytz` package that I placed under `modules/`. Turns out `pytz` package's `__init__.py` imports `tzinfo.py` under the package which imports `pytz` again.

Since python's built-in import allows circular imports, I think web2py should support it too.