NotImplemented comparison generate TypeError
Open
- Dominant language
- Go
- Stars
- 1k
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
TypeError occurs when comparing NotImplemented value from execution result.
### Expected result (cpython)
```python
>>> range(0).__ne__(2) == NotImplemented
True
```
### Actual result
```python
>>> range(0).__ne__(2) == NotImplemented
Traceback (most recent call last):
File "", line 1, in
FIXME line of source goes here
TypeError: "unsupported operand type(s) for ==: 'NotImplementedError' and 'NotImplementedError'"
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.