Delaney, Timothy (Tim) wrote: > 2. If it's a property, subclasses need to override the getter and > recreate the property if they want to change the hash of the object > (unless the base class uses a lazy property).
In which case the performance advantage becomes negative (instead of just a method call, you have a property lookup plus a method call). -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com