Phillip J. Eby wrote:

> Actually, it's desirable to be *able* to do it for anything.  But certainly 
> for otherwise-immutable objects it can lead to aliasing issues.

Even for immutables, it could be useful to be able to
add behaviour that doesn't mutate anything.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,          | A citizen of NewZealandCorp, a       |
Christchurch, New Zealand          | wholly-owned subsidiary of USA Inc.  |
[EMAIL PROTECTED]          +--------------------------------------+
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to