Konstantin Tretyakov added the comment:

Aha, I see. I knew I'd get bitten by not explicitly subclassing (object) one 
day.

In any case, adding a reference to this issue into the docs of __getitem__ and 
__setitem__ would probably save someone some hours of utter confusion in the 
future.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21785>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to