[Python-Dev] A new dictionary implementation (original) (raw)
Chris Withers chris at simplistix.co.uk
Thu Feb 2 12:30:17 CET 2012
- Previous message: [Python-Dev] A new dictionary implementation
- Next message: [Python-Dev] A new dictionary implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/02/2012 17:50, Guido van Rossum wrote:
Another question: a common pattern is to use (immutable) class variables as default values for instance variables, and only set the instance variables once they need to be different. Does such a class benefit from your improvement?
A less common pattern, but which still needs to work, is where a mutable class variable is deliberately store state across all instances of a class...
Chris
-- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
- Previous message: [Python-Dev] A new dictionary implementation
- Next message: [Python-Dev] A new dictionary implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]