[New-bugs-announce] [issue24491] inspect.getsource can't get source code if provided function isn't from a file

Zorceta report at bugs.python.org
Tue Jun 23 18:46:56 CEST 2015


New submission from Zorceta:

Both python.exe and IDLE can't. IPython is able to, as it inserts REPL input into linecache.

----------
messages: 245694
nosy: zorceta
priority: normal
severity: normal
status: open
title: inspect.getsource can't get source code if provided function isn't from a file
type: behavior
versions: Python 3.4

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


More information about the New-bugs-announce mailing list