Raymond Hettinger added the comment: This behavior was intended. It was modeled after the behavior for lists.
Any change here would break code such as: d = deque() d += 'abc' # This is specially allowed (note, we have a test for it) ---------- resolution: -> not a bug status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22779> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com