Sign in
android
/
platform
/
external
/
python
/
cpython3
/
facca72eae3c0b59b4e89bab81c936dff10fb58a
/
.
/
Misc
/
NEWS.d
/
next
/
Library
/
2020-12-03-22-22-24.bpo-17735.Qsaaue.rst
blob: 655781e3d2eddb6a59e525be6cb810543f53627e [
file
] [
log
] [
blame
]
:
func
:
`inspect.findsource`
now raises
:
exc
:
`OSError`
instead of
:
exc
:
`IndexError`
when
:
attr
:
`co_lineno`
of a code
object
is
greater than the
file length
.
This
can happen
,
for
example
,
when
a file
is
edited after it was
imported
.
PR
by
Irit
Katriel
.