Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

recursive import statements fail #105

Open
pyjsorg opened this Issue · 1 comment

1 participant

@pyjsorg
Owner

I have two .py files MapSelect.py and SystemSelect.py
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.
~Ben

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=618 (May 20, 2011 23:24:31)

@pyjsorg
Owner

From cornelis...@gmail.com 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
Something went wrong with that request. Please try again.