On 17Jun2012 23:35, Gelonida N <[email protected]> wrote: | I'm having a module, which should lazily evaluate one of it's variables. | Meaning that it is evaluated only if anybody tries to use this variable.
If it were an object member you could use a property. Does it need to be a module global? In related news, can one make "properties" for modules? I was wondering about this a month or so ago. -- Cameron Simpson <[email protected]> If your new theorem can be stated with great simplicity, then there will exist a pathological exception. - Adrian Mathesis -- http://mail.python.org/mailman/listinfo/python-list
