I discovered these missing bits when I was working on a starlark-rust binding -- I had to forward between Python and Starlark most magic methods but some are missing in PyAnyMethods, for example those for // and %, among a couple of others.
I have consulted the Python C API Number protocol and this seems complete. Please review and thanks for maintaining this great framework!
I discovered these missing bits when I was working on a
starlark-rust
binding -- I had to forward between Python and Starlark most magic methods but some are missing inPyAnyMethods
, for example those for//
and%
, among a couple of others.I have consulted the Python C API Number protocol and this seems complete. Please review and thanks for maintaining this great framework!