Skip to content

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

Merged
youknowone merged 1 commit into
RustPython:mainfrom
youknowone:py-module-def
Apr 24, 2023
Merged

youknowone merged 1 commit into
RustPython:mainfrom
youknowone:py-module-def

Conversation

@youknowone

Copy link
Copy Markdown
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