redundant imports
From: max(01)* (max2_at_fisso.casa)
Date: 03/30/05
- Next message: max(01)*: "Re: problem with tkinter"
- Previous message: Fuzzyman: "Re: author index for Python Cookbook 2?"
- Next in thread: Tim Jarman: "Re: redundant imports"
- Reply: Tim Jarman: "Re: redundant imports"
- Reply: Peter Hansen: "Re: redundant imports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 12:47:30 GMT
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
- Next message: max(01)*: "Re: problem with tkinter"
- Previous message: Fuzzyman: "Re: author index for Python Cookbook 2?"
- Next in thread: Tim Jarman: "Re: redundant imports"
- Reply: Tim Jarman: "Re: redundant imports"
- Reply: Peter Hansen: "Re: redundant imports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|