[issue12318] list + tuple inconsistency

Raymond Hettinger report at bugs.python.org
Sun Jun 12 00:49:22 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Yes, this is the expected behavior and yes, it is inconsistent.

It's been that way for a long while and Guido said he wouldn't do it again (it's in his list of regrets).  However, we're not going to break code by changing it (list.__iadd__ working like list.extend).

----------
nosy: +rhettinger
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list