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

pymethods: support __call__ proto #1929

Merged
merged 2 commits into from Oct 23, 2021
Merged

Conversation

davidhewitt
Copy link
Member

For #1884

Implements #[pymethods] form fn __call__ as the preferred way to make callable objects, changing the guide and a little bit of other cleanup at the same time.

@davidhewitt davidhewitt force-pushed the call-proto branch 2 times, most recently from 31864ec to 146af73 Compare October 17, 2021 22:00
@davidhewitt
Copy link
Member Author

Added a second commit to add support for multiple-pymethods feature for the new protocols-in-pymethods. Hopefully this makes this feature a lot closer to being releaseable! 🤞

@davidhewitt davidhewitt force-pushed the call-proto branch 3 times, most recently from 474759c to 1d2437d Compare October 20, 2021 07:07
@davidhewitt
Copy link
Member Author

Anyone wanting to review this one before I merge it?

@davidhewitt davidhewitt merged commit dc0e29a into PyO3:main Oct 23, 2021
@davidhewitt davidhewitt deleted the call-proto branch October 23, 2021 21:55
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

1 participant