recursive import statements fail #105

pyjsorg opened this Issue Apr 27, 2012 · 1 comment


None yet
1 participant

pyjsorg commented Apr 27, 2012

I have two .py files and
the two modules they represent need access to one another
thus in MapSelect I have the line:
from SystemSelect import SystemSelect
and in SystemSelect I have:
from MapSelect import MapSelect
I think you can see the potential here.

compiles fine, but in the browser it throws:
EntityList ImportError: No module named MapSelect.MapSelect, MapSelect.MapSelect in context null

python spec says it should recognise this second load and not do it.
Anyway, I hacked around the problem, but thought you would like to know.

Original issue: (May 20, 2011 23:24:31)


pyjsorg commented Apr 27, 2012

From on May 27, 2011 11:58:20:
Thanks. Could you create and add a small example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment