Mutual import?
Moshe Zadka
moshez at zadka.site.co.il
Tue Dec 5 23:59:15 EST 2000
On Mon, 04 Dec 2000 13:15:33 +0000, Dale Strickland-Clark
<dale at out-think.NOSPAMco.uk> wrote:
> Is it considered safe and acceptable for two modules to import each other or
> are there likely to be unwelcome side effects of that?
>
> The problem is that both require access to values and routines in the other.
There shouldn't be any real problem, but usually, when I do that, I find
that it usually tries to point to a problem you have in your design.
Perhaps even something as simple as there should be a third module
which they both import.
--
Moshe Zadka <sig at zadka.site.co.il>
This is a signature anti-virus.
Please stop the spread of signature viruses!
More information about the Python-list
mailing list