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 FFY00, jefferyto, rhettinger, vstinner, yan12125
Date 2021-04-15.23:49:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Would it be reasonable to make it so that sets are 
> always created with the definition order?

No, it would not.  We would also have to maintain order across set operations such as intersection which which would become dramatically more expensive if they had to maintain order.  For example intersecting a million element set with a ten element set always takes ten steps regardless of the order of arguments, but to maintain order of the left hand operand could take a hundred times more work.
Date User Action Args
2021-04-15 23:49:04rhettingersetrecipients: + rhettinger, vstinner, yan12125, FFY00, jefferyto
2021-04-15 23:49:04rhettingersetmessageid: <>
2021-04-15 23:49:04rhettingerlinkissue37596 messages
2021-04-15 23:49:04rhettingercreate