Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-117146: Expose/document warnings.WarningMessage#117147

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
csm10495 wants to merge6 commits intopython:main
base:main
Choose a base branch
Loading
fromcsm10495:gh-117146

Conversation

csm10495
Copy link
Contributor

@csm10495csm10495 commentedMar 22, 2024
edited by github-actionsbot
Loading

gh-117146: Expose/document warnings.WarningMessage

This change exposeswarnings.WarningMessage as it is already returned by a public facing function:catch_warnings. Mention it in the docs and add it to__all__


📚 Documentation preview 📚:https://cpython-previews--117147.org.readthedocs.build/

@sdjkkfv

This comment was marked as spam.

csm10495and others added2 commitsMarch 22, 2024 07:43
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@merwok
Copy link
Member

Reviewers: note that the discussion is still ongoing, it has not be agreed to expose the type (rather than just the interface of the object returned).

@willingc
Copy link
Contributor

Thanks@merwok for adding the do not merge label. Additional discussion is in this Discourse thread:https://discuss.python.org/t/warningmessage-is-undocumented/48877/1

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@hugovkhugovkhugovk left review comments

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@csm10495@sdjkkfv@merwok@willingc@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp