robotpy / robotpy-wpilib

Moved to https://github.com/robotpy/mostrobotpy
https://robotpy.github.io
Other
169 stars 59 forks source link

Make Color and Color8Bit read-only and hashable #629

Closed auscompgeek closed 4 years ago

virtuald commented 4 years ago

It would be nice if the builtin colors were readonly and the normal colors were read-write, but it does seem dangerous to allow users to modify the builtins.

auscompgeek commented 4 years ago

I think I would prefer Color to be hashable, as it would be useful when using REV's ColorMatch.