Lazy attributes for Python objects
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.
- Links to devel:languages:python / python-lazy
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:yarunachalam:branches:devel:languages:python/python-lazy && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
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 |
Latest Revision
Yogalakshmi Arunachalam (yarunachalam)
committed
(revision 1)
Comments 0