[issue1218234] inspect.getsource doesn't update when a module is reloaded

Daniel Diniz report at bugs.python.org
Sat Apr 25 21:38:32 CEST 2009


Daniel Diniz <ajaksu at gmail.com> added the comment:

Fix was committed to py3k but with no tests AFAIK. Here's a (failing)
test for trunk that runs OK after Guilherme's patch.

We might want to keep this behavior restricted for when the module was
reloaded.

----------
keywords: +patch
nosy: +ajaksu2
stage:  -> patch review
type:  -> behavior
versions: +Python 2.6, Python 3.0 -Python 2.5
Added file: http://bugs.python.org/file13775/test_inspect-trunk.diff

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


More information about the Python-bugs-list mailing list