Ethan Furman added the comment:

So making this a speed-up for generic objects using __iadd__ is out.

The only question remaining is: is it worth special casing a few specific 
objects (list, tuple, str) to optimise performance?

The str question has already been answered:  it's special cased to raise an 
error.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18305>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to