Skip to content

Use frozenset for Specification.kTraitSet #55

@foundrytom

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Blocked

Relationships

None yet

Development

No branches or pull requests

Issue actions