Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add several missing wrappers to PyAnyMethods #4264

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

xen0n
Copy link
Contributor

@xen0n xen0n commented Jun 19, 2024

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!

Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@davidhewitt davidhewitt added this pull request to the merge queue Jun 20, 2024
Merged via the queue into PyO3:main with commit e6b2216 Jun 20, 2024
41 checks passed
@xen0n xen0n deleted the more-pyany-methods branch June 20, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants