[Python-Dev] properties on modules? (original) (raw)

Samuele Pedroni pedronis@bluewin.ch
Mon, 13 Jan 2003 20:12:30 +0100


From: "Skip Montanaro" <skip@pobox.com>

I think the question is still open whether or not modules should be able to support properties, though I do think the ball is back in his court to come up with a less contrived example.

if module.prop would be a property then

from module import prop

would probably not do what one may expect...

I think this kill it.