-
-
Notifications
You must be signed in to change notification settings - Fork 208
Closed
Milestone
Description
Regarding validating default values, I'm curious why this is allowed at all:
This seems to go against the emphasis on validating default values in the module description.
There are also some important difference in our design:
- enthought.traits does not validate default values. We do.
I recognize that this default value is validated eventually if the traitlet is part of a HasTraits class; it just happens on instantiation rather than class definition. Of course, dynamic defaults can only be validated at this point, but it seems like static defaults could be validated sooner.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
