Fill nb_index slot for integer types by filmor · Pull Request #1907 · pythonnet/pythonnet
What does this implement/fix? Explain your changes.
Fills slot for __index__ as a follow up to #1904. In Python >= 3.10, use of __int__ for quite a few conversion cases has been removed.
Does this close any currently open issues?
-/-
Any other comments?
...
Checklist
Check all those that are applicable and complete.
- Make sure to include one or more tests for your change
- If an enhancement PR, please create docs and at best an example
- Ensure you have signed the .NET Foundation CLA
- Add yourself to
AUTHORS - Updated the
CHANGELOG