Skip to content

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

Merged
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-2e0760b-3.8
Dec 4, 2020
Merged

[3.8] bpo-17735: inspect.findsource now raises OSError when co_lineno is out of range (GH-23633)#23647
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-2e0760b-3.8

Conversation

@miss-islington
Copy link
Copy Markdown
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
Copy Markdown
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