Lazy attributes for Python objects

Edit Package python-lazy

Lazy attributes are computed attributes that are evaluated only once, the first time they are used. Subsequent uses return the results of the first call. They come handy when code should run
* late, i.e. just before it is needed, and
* once, i.e. not twice, in the lifetime of an object.

You can think of it as deferred initialization. The possibilities are endless.

Refresh
Refresh
Source Files
Filename Size Changed
lazy-1.6.tar.gz 0000010562 10.3 KB
python-lazy.changes 0000001898 1.85 KB
python-lazy.spec 0000001929 1.88 KB
Revision 11 (latest revision is 16)
buildservice-autocommit accepted request 1059500 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 11)
baserev update by copy to link target
Comments 0
openSUSE Build Service is sponsored by