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 rhettinger
Recipients danuker, methane, rhettinger, xtreak
Date 2020-11-17.01:01:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605574892.78.0.295208391642.issue42368@roundup.psfhosted.org>
In-reply-to
Content
Thank for the suggestion.  We've considered it a couple of times before but there are downsides that get in the way:

* The related mathematical concept of sets is unordered.

* It isn't clear what ordering should be returned
  by set operations like intersection, union, and 
  difference especially if we want the first two
  to be commutative and if we want consistent
  in-place and data removal options.

* It gets in the way of existing performance optimizations
  some of which are significant.

* Other programming languages don't seem to have 
  found compelling the need for this.

So yes, it is something we could do, but probably shouldn't.
History
Date User Action Args
2020-11-17 01:01:32rhettingersetrecipients: + rhettinger, methane, xtreak, danuker
2020-11-17 01:01:32rhettingersetmessageid: <1605574892.78.0.295208391642.issue42368@roundup.psfhosted.org>
2020-11-17 01:01:32rhettingerlinkissue42368 messages
2020-11-17 01:01:31rhettingercreate