Skip to content

Use frozenset for Specification.kTraitSet #55

Description

@foundrytom

What

Define the (Python) Specifications trait set using a frozenset so it can be hashed.

Why

Simplifies switching on trait set in manager implementations in Python, where a handler map is a nice way to structure code.

ACs

  • Generated Python Specifications use frozenset for their static kTraitSet

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions