Author serhiy.storchaka
Recipients Jim Fasarakis-Hilliard, ned.deily, serhiy.storchaka
Date 2016-12-31.06:54:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483167251.58.0.877408325538.issue29116@psf.upfronthosting.co.za>
In-reply-to
Content
Different cases accept different types. Not always we can say that only one specific type is accepted.

"list +" accepts only lists, "list +=" is a syntax sugar for list.extend and accepts any iterables. "bytes +" and "bytearray +=" accept any objects that support the buffer protocol. "array +" and "array +=" accept only arrays.

Changing semantic is out of the scope of this issue. I think there are reasons for current behavior.
History
Date User Action Args
2016-12-31 06:54:11serhiy.storchakasetrecipients: + serhiy.storchaka, ned.deily, Jim Fasarakis-Hilliard
2016-12-31 06:54:11serhiy.storchakasetmessageid: <1483167251.58.0.877408325538.issue29116@psf.upfronthosting.co.za>
2016-12-31 06:54:11serhiy.storchakalinkissue29116 messages
2016-12-31 06:54:11serhiy.storchakacreate