Raymond Hettinger added the comment: Confirmed. This is by design. Guido has long lamented that the += operator for lists would accept any iterable. This led to a number of surprises: s= ['hello']; s += 'world' # Oops!
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17626> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com