Skip to content
New issue

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

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

Already on GitHub? # to your account

pymodule: accept #[pyo3(name = "...")] option #1650

Merged
merged 1 commit into from
Jun 6, 2021

Conversation

davidhewitt
Copy link
Member

Part of #1601

This PR makes #[pymodule] accept the #[pyo3(name = "...")] attribute, and deprecates the previous #[pymodule(name)] way to set the name.

@davidhewitt davidhewitt mentioned this pull request Jun 4, 2021
7 tasks
@davidhewitt davidhewitt force-pushed the pymodule-name branch 2 times, most recently from 4beb9bc to 56da6ef Compare June 5, 2021 08:29
Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

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

LGTM!

@davidhewitt davidhewitt merged commit a290971 into PyO3:main Jun 6, 2021
@davidhewitt davidhewitt deleted the pymodule-name branch June 6, 2021 10:11
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants