enthought / enthought/traitsui
Strange priorities in EditorFactory.string_value
Open
type: discussion
- Dominant language
- Python
- Stars
- 306
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Motivated by this comment:
https://github.com/enthought/traitsui/pull/1684/files#r655198812
See relevant code block here:
https://github.com/enthought/traitsui/blob/190b68356c012fbfdaafcd89ed61c06b80523aa3/traitsui/editor_factory.py#L190-L208
The docstring does not mention the `format_func` kwarg, and it seems strange that one can pass a `format_func` kwarg explicitly and have it go unused if the factory has its `format_func` or `format_str` traits set.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.