[issue19658] inspect.getsource weird case

2014-01-30 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: - committed/rejected superseder: - inspect.findsource raises undocumented error for code objects with empty filename ___ Python tracker rep...@bugs.python.org

[issue19658] inspect.getsource weird case

2014-01-29 Thread Yury Selivanov
Yury Selivanov added the comment: Duplicate of #17526. -- nosy: +yselivanov resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19658 ___

[issue19658] inspect.getsource weird case

2013-11-19 Thread Ronny Pfannschmidt
New submission from Ronny Pfannschmidt: got: l = {} import inspect exec(compile('def fun(): pass', '', 'exec'), l, l) inspect.getsource(l['fun']) Traceback (most recent call last): File input, line 1, in module File /home/private/.local/lib/python3.3/inspect.py, line 726, in getsource

[issue19658] inspect.getsource weird case

2013-11-19 Thread Ronny Pfannschmidt
Changes by Ronny Pfannschmidt ronny.pfannschm...@gmail.com: -- components: +Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19658 ___