6 Jul
2016
6 Jul
'16
1:39 p.m.
Ethan Furman writes:
__missing__, and I'm mystified about the comment that users shouldn't be subclassing dict. I thought one of the key advances late in the 2.x series was easy(er) subclassing of the builtins.
But that's not what was said, it was conditional. Sometimes you want to be subclassing dict, sometimes MutableMapping. But UserDict is apparently considered to be obsolete.