Skip to content

PyModuleDef and #[pymodule(with(...))] #4901

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

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

youknowone
Copy link
Member

The first commit is #4898

  • Adding PyModuleDef for static module definition.
  • Adding #[pymodule(with(...))] and #[pymodule(sub)] to support module composition better. It works like trait composition of #[pyclass]

@youknowone youknowone merged commit 268a39f into RustPython:main Apr 24, 2023
@youknowone youknowone deleted the py-module-def branch April 24, 2023 19:41
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.

1 participant