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 <>
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.
Date User Action Args
2020-11-17 01:01:32rhettingersetrecipients: + rhettinger, methane, xtreak, danuker
2020-11-17 01:01:32rhettingersetmessageid: <>
2020-11-17 01:01:32rhettingerlinkissue42368 messages
2020-11-17 01:01:31rhettingercreate