dir() gives duplicate results for methods
Open
type: bug
- Dominant language
- Python
- Stars
- 462
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
Reported by @tmcdan on Slack, and independently confirmed by @k2bd.
```
import traits
from traits.api import HasTraits
class A(HasTraits):
def foo(self):
print(a)
print(traits.__version__) # 5.0.0
print(len([d for d in dir(A()) if d == "foo"])) # 2
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.