> You asked "why not" rather than "has anyone done this anyway"; if > you asked the latter of the Python Cookbook, you might find something > like this: > > <URL:http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/107747> > > A little old, and pre-dates subclassable native types, but quite > serviceable.
Here's a more recent and tested one, by yours truly (and Michael Foord): An Ordered Dictionary http://www.voidspace.org.uk/python/odict.html -- Nicola Larosa - [EMAIL PROTECTED] How wonderful the world would be if his behaviour and attitude was the default among rich people - using his money with a vision to improve the world, instead of getting 8 sportcars and a larger penis. -- barkholt on Slashdot, October 2005, referring to Mark Shuttleworth -- http://mail.python.org/mailman/listinfo/python-list