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

Documents experimental-declarative-modules feature #3953

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

Tpt
Copy link
Contributor

@Tpt Tpt commented Mar 11, 2024

No description provided.

@Tpt Tpt force-pushed the tpt/declarative-guide branch 2 times, most recently from 77cbca7 to 858793c Compare March 11, 2024 15:04
@Tpt Tpt marked this pull request as ready for review March 11, 2024 16:03
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.

Thanks! Just a couple of small adjustments I think we can add...

guide/src/module.md Outdated Show resolved Hide resolved

An other syntax based on Rust inline modules is also available to declare modules.
The `experimental-declarative-modules` feature must be enabled to use it.

Copy link
Member

Choose a reason for hiding this comment

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

Should we briefly note what might be subject to change before we call this ready? I guess mostly it is the submodule automatically going to sys.modules and also the setting of #[pyclass(module = ....)].

We could also add a link to the issue.

(And I guess we thought we might change the attribute names, though I'm feeling quite happy about those.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done: 6b31c39

BTW, sorry for my English, as you can see it's not my native language

@Tpt Tpt force-pushed the tpt/declarative-guide branch from 858793c to 6b31c39 Compare March 12, 2024 09:37
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.

Great, thanks for getting this one done! It had been in the back of my mind too that we needed to do this before 0.21 👍

@davidhewitt davidhewitt added the CI-skip-changelog Skip checking changelog entry label Mar 12, 2024
@davidhewitt davidhewitt added this pull request to the merge queue Mar 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 12, 2024
@davidhewitt davidhewitt added this pull request to the merge queue Mar 12, 2024
Merged via the queue into PyO3:main with commit 7cde95b Mar 13, 2024
41 of 43 checks passed
@Tpt Tpt deleted the tpt/declarative-guide branch March 15, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants