Skip to content

[3.8] bpo-17735: inspect.findsource now raises OSError when co_lineno is out of range (GH-23633) #23647

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

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 4, 2020

This can happen when a file was edited after it was imported.
(cherry picked from commit 2e0760b)

Co-authored-by: Irit Katriel iritkatriel@yahoo.com

https://bugs.python.org/issue17735

…t of range (pythonGH-23633)

This can happen when a file was edited after it was imported.
(cherry picked from commit 2e0760b)

Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
@miss-islington
Copy link
Contributor Author

@iritkatriel and @taleinat: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit a4e7d5f into python:3.8 Dec 4, 2020
@miss-islington miss-islington deleted the backport-2e0760b-3.8 branch December 4, 2020 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants