On Sun, 12 Sep 2010 02:00:02 am Lie Ryan wrote: > As an alternative solution, you can derive from UserList and overload > the __getitem__ and __setitem__ operator: We've been able to inherit from list directly since at least Python 2.2. Why are you using UserList? -- Steven D'Aprano