redundant imports
max(01)*
max2 at fisso.casa
Wed Mar 30 07:47:30 EST 2005
hi everybody.
suppose that code-1.py imports code-2.py and code-3.py (because it uses
names from both), and that code-2.py imports code-3.py.
if python were c, code-1.c should only *include* code-2.c, because the
latter in turns includes code-3.c.
inclusion of modules in c is a purely preprocessing textual matter
(compilation is deferred to after the fact), i guess, so that such
things are possible. import of modules in python is a different beast,
so the "redundancy" is (i think) necessary.
any comment/suggestion/idea?
bye
macs
More information about the Python-list
mailing list