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.3.zip 0000015996 15.6 KB
python-lazy.changes 0000000271 271 Bytes
python-lazy.spec 0000002068 2.02 KB
Revision 1 (latest revision is 16)
Todd R's avatar Todd R (TheBlackCat) accepted request 606010 from Todd R's avatar Todd R (TheBlackCat) (revision 1)
Lazy attributes
Comments 0
openSUSE Build Service is sponsored by