Message284370
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. |
|
Date |
User |
Action |
Args |
2016-12-31 06:54:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ned.deily, Jim Fasarakis-Hilliard |
2016-12-31 06:54:11 | serhiy.storchaka | set | messageid: <1483167251.58.0.877408325538.issue29116@psf.upfronthosting.co.za> |
2016-12-31 06:54:11 | serhiy.storchaka | link | issue29116 messages |
2016-12-31 06:54:11 | serhiy.storchaka | create | |
|