NotImplemented comparison generate TypeError
Aperta
- Lingua principale
- Go
- Stelle
- 1k
- Fork
- 105
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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'"
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.