Reading from an `Event` trait inside a `Tuple` trait should be an error
Open
component: core
type: bug
- Dominant language
- Python
- Stars
- 462
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
Reading the value of an `Event()` trait should be an error, even when it's contained in another trait type. But we have the following behaviour in current Traits:
```python
>>> from traits.api import HasTraits, Event, Tuple
>>>
>>> class A(HasTraits):
... foo = Tuple(Event(), Event())
...
>>> a = A()
>>> a.foo
(, )
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.