enthought / enthought/traits

Value-changing getters on dynamic Trait types are problematic

Open
#1,390 4 comments 0 reactions 0 assignees View on GitHub
type: discussion
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

The `Enum` and `Range` trait types have trait getters which can report a different value from the one stored.

One way in which this is problematic (there are others) is that if those Trait types are inside another container, the `get` magic is no longer invoked.

Example to follow shortly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.