On Thu, Aug 6, 2009 at 11:51 AM, Sergey Simonenko <gfo...@lavabit.com>wrote:

> I subclass builtin 'dict' in my application and experience some problems
> with it.
>

You should subclass collections.UserDict, and not the default dict class.
Refer to the collections module.

Also, the ABC MutableMapping might be of your interest.


> Another guy have reported me that he experiences similar problems with
> subclassing builtin 'list'.


Similarly, UserList is what you should subclass.

HTH,

Ching-Yun "Xavier" Ho, Technical Artist

Contact Information
Mobile: (+61) 04 3335 4748
Skype ID: SpaXe85
Email: cont...@xavierho.com
Website: http://xavierho.com/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to