Xif wrote:
Overiding all those methods is too much of an effort. I don't really
need them.

Hmm, it might be nice if there was a UserList.ListMixin that was the counterpart to UserDict.DictMixin that let's you provide the full dictionary API with just __getitem__, __setitem__, __delitem__ and keys()


With an appropriate ListMixin, providing the first three methods would suffice to support the full list API.

Cheers,
Nick.

--
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
            http://boredomandlaziness.skystorm.net
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to