Message337107
> should we also implement +/+= for sets?
The question is: what would that do? The same as '|=' ? That would be rather confusing, I think. "|" (meaning: "or") seems a very natural operation for sets, in the same way that "|" operates on bits in integers. That suggests that "|" is the right operator for sets.
In any case, this is an unrelated proposal that is better not discussed in this ticket. The only link is whether "|" is the more appropriate operator also for dicts, which is to be discussed in the PEP and thus also not in this ticket. |
|
Date |
User |
Action |
Args |
2019-03-04 13:05:30 | scoder | set | recipients:
+ scoder, gvanrossum, rhettinger, mark.dickinson, serhiy.storchaka, josh.r, slam, xtreak, brandtbucher |
2019-03-04 13:05:30 | scoder | set | messageid: <1551704730.41.0.311647627322.issue36144@roundup.psfhosted.org> |
2019-03-04 13:05:30 | scoder | link | issue36144 messages |
2019-03-04 13:05:30 | scoder | create | |
|