On Thu, Aug 6, 2009 at 11:51 AM, Sergey Simonenko <span dir="ltr"><<a href="mailto:gforgx@lavabit.com">gforgx@lavabit.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I subclass builtin 'dict' in my application and experience some problems with it.<br></blockquote><div><br>
You should subclass collections.UserDict, and not the default dict class.<br>
Refer to the collections module.<br>
<br>
Also, the ABC MutableMapping might be of your interest.<br> 
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Another guy have reported me that he experiences similar problems with subclassing builtin 'list'.</blockquote><div><br>Similarly, UserList is what you should subclass.<br> <br>HTH,<br><br clear="all">Ching-Yun "Xavier" Ho, Technical Artist<br>
<br>Contact Information<br>Mobile: (+61) 04 3335 4748<br>Skype ID: SpaXe85<br>Email: <a href="mailto:contact@xavierho.com">contact@xavierho.com</a><br>Website: <a href="http://xavierho.com/">http://xavierho.com/</a><br>
<br><br><br><br></div></div><br>