← 返回首页
GH-103082: Document PEP-669: Low Impact Monitoring for CPython by markshannon · Pull Request #107772 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

GH-103082: Document PEP-669: Low Impact Monitoring for CPython#107772

Merged
markshannon merged 18 commits into
python:mainfrom
faster-cpython:doc-669
Sep 5, 2023
Merged

GH-103082: Document PEP-669: Low Impact Monitoring for CPython#107772
markshannon merged 18 commits into
python:mainfrom
faster-cpython:doc-669

Conversation

markshannon commented Aug 8, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

bedevere-bot added docs Documentation in the Doc dir skip news labels Aug 8, 2023
markshannon changed the title Document PEP-669: Low Impact Monitoring for CPython GH-103082: Document PEP-669: Low Impact Monitoring for CPython Aug 8, 2023

jacobtylerwalls left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Spotted a typo while here, cheers

Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Show resolved Hide resolved
2 hidden conversations Load more…
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
markshannon marked this pull request as ready for review August 31, 2023 10:40

AA-Turner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Suggestions to remove double-spaces, and to remove an unneeded sys.monitoring prefix from the function definitions -- they'll be added by Sphinx regardless as of the .. module:: directive at the top of the file, and removing them helps with line length/readability.

A

Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved

Copy link
Copy Markdown
Member

The patch mentiond for conf.py is:

diff --git a/Doc/conf.py b/Doc/conf.py index 16fd8bf2571..901b977fd71 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -157,6 +157,8 @@ ('envvar', 'USER'), ('envvar', 'USERNAME'), ('envvar', 'USERPROFILE'), + # sys.monitoring ignores + ('py:class', 'range(6)'), ] # Temporary undocumented names.

Comment thread Doc/library/sys.monitoring.rst Outdated Show resolved Hide resolved
markshannon and others added 8 commits September 5, 2023 02:16
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
markshannon merged commit 8b515f6 into python:main Sep 5, 2023

Yhg1s commented Sep 5, 2023

Copy link
Copy Markdown
Member

Is this getting backported to 3.12?

Copy link
Copy Markdown
Member Author

Yes, it should be.

markshannon added the needs backport to 3.12 only security fixes label Sep 5, 2023

Copy link
Copy Markdown
Contributor

Thanks @markshannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

Copy link
Copy Markdown

GH-108909 is a backport of this pull request to the 3.12 branch.

bedevere-bot removed the needs backport to 3.12 only security fixes label Sep 5, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2023
…ythonGH-107772) (cherry picked from commit 8b515f6) Co-authored-by: Mark Shannon <mark@hotpy.org>
markshannon deleted the doc-669 branch September 5, 2023 12:52
Yhg1s pushed a commit that referenced this pull request Sep 5, 2023
…GH-107772) (#108909) GH-103082: Document PEP-669: Low Impact Monitoring for CPython (GH-107772) (cherry picked from commit 8b515f6) Co-authored-by: Mark Shannon <mark@hotpy.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Footer

© 2026 GitHub, Inc.