Skip to content

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 force-pushed the wrap-paths branch 3 times, most recently from 7b5b614 to 8fa4ea8 Compare December 28, 2021 01:41
@davidhewitt davidhewitt force-pushed the wrap-paths branch 2 times, most recently from 62b2395 to 09d2dfc Compare December 30, 2021 11:25
@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