[New-bugs-announce] [issue26890] inspect.getsource gets source copy on disk even when module has not been reloaded

Sebastien Bourdeauducq report at bugs.python.org
Fri Apr 29 23:33:07 EDT 2016


New submission from Sebastien Bourdeauducq:

The fix of https://bugs.python.org/issue1218234 is a bit zealous. If the module has not been reloaded, e.g. calling a function will execute code older than what inspect.getsource returns.

----------
components: Library (Lib)
messages: 264538
nosy: sebastien.bourdeauducq
priority: normal
severity: normal
status: open
title: inspect.getsource gets source copy on disk even when module has not been reloaded
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26890>
_______________________________________


More information about the New-bugs-announce mailing list