Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #33430 > unrolled thread
| Started by | "Stefan H. Holek" <stefan@epy.co.at> |
|---|---|
| First post | 2012-11-16 11:41 +0100 |
| Last post | 2012-11-16 11:41 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Lazy Attribute "Stefan H. Holek" <stefan@epy.co.at> - 2012-11-16 11:41 +0100
| From | "Stefan H. Holek" <stefan@epy.co.at> |
|---|---|
| Date | 2012-11-16 11:41 +0100 |
| Subject | Re: Lazy Attribute |
| Message-ID | <mailman.3747.1353063984.27098.python-list@python.org> |
On 15.11.2012, at 20:33, Andriy Kornatskyy wrote: > A lazy attribute is an attribute that is calculated on demand and only once. > > The post below shows how you can use lazy attribute in your Python class: > > http://mindref.blogspot.com/2012/11/python-lazy-attribute.html > > Comments or suggestions are welcome. There is a ready made and well tested lazy decorator at http://pypi.python.org/pypi/lazy. I even has a better name. ;-) Since people seem to come up with their own implementations on a bi-weekly basis, I am seriously wondering how to improve its visibility. Putting it on PyPI alone does not cut it, apparently. Stefan -- Stefan H. Holek stefan@epy.co.at
Back to top | Article view | comp.lang.python
csiph-web