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

more macro hygiene cleanup: test #[pymethods] and more arg parsing and protos #1843

Merged
merged 2 commits into from
Aug 29, 2021

Conversation

birkenfeld
Copy link
Member

After this PR and the two previous ones (#1841, #1842), no non-doc usages of pyo3:: remain in the macros-backend crate or the main crate.

@birkenfeld birkenfeld force-pushed the pymethods_hygiene branch 2 times, most recently from dd6029a to fed4f93 Compare August 28, 2021 15:32
Copy link
Member

@mejrs mejrs left a comment

Choose a reason for hiding this comment

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

Looks like unimplemented isn't hygienic before 1.50 - rust-lang/rust#78343

tests/test_proc_macro_hygiene.rs Outdated Show resolved Hide resolved
tests/test_proc_macro_hygiene.rs Outdated Show resolved Hide resolved
@birkenfeld
Copy link
Member Author

Looks like unimplemented isn't hygienic before 1.50 - rust-lang/rust#78343

Interesting, thanks for finding that :)

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.

💯 awesome work on building out this test @birkenfeld @mejrs !

@davidhewitt davidhewitt merged commit f4c834f into main Aug 29, 2021
@davidhewitt davidhewitt deleted the pymethods_hygiene branch August 29, 2021 10:26
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.

3 participants