lazy evaluation of a variable
Cameron Simpson
cs at zip.com.au
Sun Jun 17 17:44:47 EDT 2012
More information about the Python-list mailing list
Sun Jun 17 17:44:47 EDT 2012
- Previous message (by thread): lazy evaluation of a variable
- Next message (by thread): lazy evaluation of a variable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 17Jun2012 23:35, Gelonida N <gelonida at gmail.com> 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 <cs at zip.com.au> If your new theorem can be stated with great simplicity, then there will exist a pathological exception. - Adrian Mathesis
- Previous message (by thread): lazy evaluation of a variable
- Next message (by thread): lazy evaluation of a variable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list