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

macros: accept paths in wrap_x macros #2081

Merged
merged 1 commit into from Dec 30, 2021
Merged

Conversation

davidhewitt
Copy link
Member

@davidhewitt davidhewitt commented Dec 28, 2021

Closes #1709

Reimplements wrap_pyfunction and wrap_pymodule as proc macros. This enables them to take paths as well as idents and also enables dropping the paste dependency.

TODO needs tests before merging. EDIT: tested via pyo3-pytests.

@davidhewitt davidhewitt merged commit 24eea5d into PyO3:main Dec 30, 2021
@davidhewitt davidhewitt deleted the wrap-paths branch December 30, 2021 14:00
davidhewitt pushed a commit that referenced this pull request Jun 21, 2022
* remove workaround section in module.md that is no longer needed after merging #2081

* update changelong

* revert CHANGELOG
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.

Accept paths in wrap_* macros
1 participant