Skip to content

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

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

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

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>
@taleinat taleinat merged commit d1f0741 into python:3.9 Dec 4, 2020
@miss-islington miss-islington deleted the backport-2e0760b-3.9 branch December 4, 2020 22:42
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