Ben Finney a écrit :
> "Ethan Kennerly" <[EMAIL PROTECTED]> writes:
> 
>> I really like properties for readonly attributes,
> 
> Python doesn't have "readonly attributes",

Err... Ever tried to set a class mro ?-)

> and to attempt to use
> properties for that purpose will only lead to confusion.

read-only attributes actually are one of the common use-case for properties.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to