Uh oh!
There was an error while loading. Please reload this page.
gh-98239: Document that inspect.getsource() can raise TypeError - #101689
Merged
Conversation
sobolevn
commented
Mar 20, 2023
MemberAuthor
@AlexWaygood this is quite a simple change, but it is stuck. Can you please take a look? |
AlexWaygood
self-requested a review
March 20, 2023 23:15
AlexWaygood
left a comment
Member
There was a problem hiding this comment.
LGTM! Just two small suggestions to minimise the diff and keep the additions consistent with the immediate surrounding text:
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
AlexWaygood
approved these changes
Mar 23, 2023
miss-islington
commented
Mar 23, 2023
Contributor
Thanks @sobolevn for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
miss-islington pushed a commit
to miss-islington/cpython
that referenced
this pull request
Mar 23, 2023
…ror` (pythonGH-101689) (cherry picked from commit b613208) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
bedevere-bot
commented
Mar 23, 2023
GH-102969 is a backport of this pull request to the 3.11 branch. |
miss-islington pushed a commit
to miss-islington/cpython
that referenced
this pull request
Mar 23, 2023
…ror` (pythonGH-101689) (cherry picked from commit b613208) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
bedevere-bot
commented
Mar 23, 2023
GH-102970 is a backport of this pull request to the 3.10 branch. |
Fidget-Spinner pushed a commit
to Fidget-Spinner/cpython
that referenced
this pull request
Mar 27, 2023
warsaw pushed a commit
to warsaw/cpython
that referenced
this pull request
Apr 11, 2023
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 freeto 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.
Now all
inspect.getsourcefile,inspect.getsourcelines, andinspect.getsourcemention theTypeErrorcase.cc @ericvsmith