[Python-Dev] RFC: readproperty

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Sep 29 03:34:49 CEST 2005


Guido van Rossum wrote:
> I think we need to be real careful with chosing a name

In Eiffel, the keyword "once" is used for something
analogous -- a method that is called once the first
time it's referenced, and the return value cached.
So perhaps this could be called a "once_property".
-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	 | A citizen of NewZealandCorp, a	 |
Christchurch, New Zealand	 | wholly-owned subsidiary of USA Inc. |
greg.ewing at canterbury.ac.nz	 +--------------------------------------+


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /