[Python-ideas] a set of enum.Enum values rather than the construction of bit-sets as the "norm"?
Chris Angelico
rosuav at gmail.com
Fri Dec 29 12:01:10 EST 2017
On Sat, Dec 30, 2017 at 3:56 AM, Stephan Hoyer <shoyer at gmail.com> wrote:
> We already have a built-in immutable set for Python. It's called frozenset.
This is true, but AIUI its API is based primarily on that of the
(mutable) set. If you were creating a greenfield ImmutableSet class,
what would its API look like?
ChrisA
More information about the Python-ideas
mailing list