28 Jul
2004
28 Jul
'04
5:26 p.m.
On Wed, 2004-07-28 at 12:53, Guido van Rossum wrote:
Um, importing a module is executing code.
Oh sure! (I didn't mean it in that sense ;).
Defining a class or method is executing code. Defining a module-global (or class) constant is executing code. Initializing a module-global variable. Etc. Where do you draw the line?
Actually, I wouldn't draw the line implicitly, but instead explicitly, but...
I don't think this can reasonably done. It would have to contain everything that's currently at module scope, which would defeat the purpose.
yah, you're probably right. Bleh. -Barry