This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients brandtbucher, gvanrossum, josh.r, mark.dickinson, rhettinger, scoder, serhiy.storchaka, slam, xtreak
Date 2019-03-04.13:05:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551704730.41.0.311647627322.issue36144@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2019-03-04 13:05:30scodersetrecipients: + scoder, gvanrossum, rhettinger, mark.dickinson, serhiy.storchaka, josh.r, slam, xtreak, brandtbucher
2019-03-04 13:05:30scodersetmessageid: <1551704730.41.0.311647627322.issue36144@roundup.psfhosted.org>
2019-03-04 13:05:30scoderlinkissue36144 messages
2019-03-04 13:05:30scodercreate