commit | d1f07419c7560ed3ba52ba4f667f4eec9b5fe95d | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Dec 04 14:41:58 2020 -0800 |
committer | GitHub <noreply@github.com> | Sat Dec 05 00:41:58 2020 +0200 |
tree | 199831e3749b67236926270f989c218e00271379 | |
parent | 40b92f1cc06f9aaba813ae38266f424e0969b089 [diff] |
bpo-17735: inspect.findsource now raises OSError when co_lineno is out of range (GH-23633) This can happen when a file was edited after it was imported. (cherry picked from commit 2e0760bb2edb595050aff82f236cd32b44d3dfb3) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>