[issue3458] dict.update() optimisation gives unexpected/invalid results when passed a subclass of DictType

Raymond Hettinger report at bugs.python.org
Tue Jul 29 02:17:51 CEST 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

This is duplicate of http://bugs.python.org/issue1615701 .  The 
check_exact solution was attempted once but it broke code in a subtle 
and hard to find way so it had to be reverted.  For your use case, try 
UserDict instead of subclassing dict.

----------
resolution:  -> duplicate
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3458>
_______________________________________


More information about the Python-bugs-list mailing list