numba / numba/nvidia-cuda-tutorial
Session 4 (Extending Numba) should mention `__hash__` and `__eq__` methods of types
Open
- Dominant language
- Jupyter Notebook
- Stars
- 269
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
Failing to implement these results in weird behaviour for parameterised types:
- `__hash__` is required for correct interning.
- `__eq__` is required to determine if casts are required.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open Session 4 (Extending Numba) in the tutorial and locate the discussion of parameterised types. Add the stated __hash__ and __eq__ guidance, preserving the explanations of interning and cast determination. Done when the session explicitly warns about both methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100