[Python-Dev] Fix import errors to have data (original) (raw)
Barry Warsaw barry at python.org
Wed Jul 28 19:26:41 CEST 2004
- Previous message: [Python-Dev] Fix import errors to have data
- Next message: [Python-Dev] Fix import errors to have data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20040728/400970c8/attachment.pgp
- Previous message: [Python-Dev] Fix import errors to have data
- Next message: [Python-Dev] Fix import errors to have data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]