gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section#98304
Merged
pablogsal merged 5 commits intopython:mainfrom Oct 22, 2022
Merged
gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section#98304pablogsal merged 5 commits intopython:mainfrom
pablogsal merged 5 commits intopython:mainfrom
Conversation
33 tasks
Contributor
|
Thanks @CAM-Gerlach for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Oct 22, 2022
…pythonGH-98304) (cherry picked from commit 8f30267) Co-authored-by: C.A.M. Gerlach <[email protected]>
|
GH-98553 is a backport of this pull request to the 3.11 branch. |
miss-islington
added a commit
that referenced
this pull request
Oct 22, 2022
…8304) (cherry picked from commit 8f30267) Co-authored-by: C.A.M. Gerlach <[email protected]>
pablogsal
pushed a commit
that referenced
this pull request
Oct 22, 2022
…8304) (cherry picked from commit 8f30267) Co-authored-by: C.A.M. Gerlach <[email protected]>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #95913
This applies the standard copyediting and formatting to the
inspectsection in the Python 3.11 What's New, as well as explicitly mentions/references the newinspect.FrameInfoobjects. Specifically:FrameInfo/Tracebackclass instances returned by variousinspectfunctions and what it replaces (a namedtuple-like object)inspectmodule APIsAlso, it makes a couple directly related fixes in the
inspectmodule library documentation:inspect.Tracebackinspect.FrameInfoinspect.ismethodwrappermentioned in What's New, and fix broken cross-references within due to bad Sphinx syntax