Message280602
Please no need to rush. We have 1.5 years to do this right.
I believe supporting __slots__ is very important. But this is not easy task. Seems this requires C implementation.
We should also design the behavior in case of setting or deleting cached property.
How about just methods without arguments? Some APIs use methods without arguments instead of properties. Wouldn't be better to design a decorator that memoizes both properties and methods without arguments? |
|
Date |
User |
Action |
Args |
2016-11-11 17:45:07 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, ncoghlan, pitrou, vstinner, carljm, pydanny, eric.araujo, alex, r.david.murray, madison.may, Omer.Katz |
2016-11-11 17:45:07 | serhiy.storchaka | set | messageid: <1478886307.62.0.506447783012.issue21145@psf.upfronthosting.co.za> |
2016-11-11 17:45:07 | serhiy.storchaka | link | issue21145 messages |
2016-11-11 17:45:07 | serhiy.storchaka | create | |
|