Python slots.

Or how to leverage constraints.

Read →