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 ethan.furman
Recipients ammar2, arigo, ethan.furman, gregory.p.smith, pablogsal, vstinner
Date 2021-10-12.19:31:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634067101.83.0.644423398396.issue38659@roundup.psfhosted.org>
In-reply-to
Content
The reason for that quadratic behavior is that for each new member (aka attribute), all the previous members must be checked to see if the new member is a duplicate.

In practice I wouldn't expect this to be a problem as most enums should be fairly small -- are there any real-world examples where there are more than, say, a hundred?
History
Date User Action Args
2021-10-12 19:31:41ethan.furmansetrecipients: + ethan.furman, arigo, gregory.p.smith, vstinner, ammar2, pablogsal
2021-10-12 19:31:41ethan.furmansetmessageid: <1634067101.83.0.644423398396.issue38659@roundup.psfhosted.org>
2021-10-12 19:31:41ethan.furmanlinkissue38659 messages
2021-10-12 19:31:41ethan.furmancreate