Ivan Levkivskyi <levkivskyi at gmail.com> added the comment: Apparently there is another type with a similar problem -- DefaultDict. Will fix this now. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue32873> _______________________________________