[issue19658] inspect.getsource weird case

2014-01-30 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> committed/rejected superseder: -> inspect.findsource raises undocumented error for code objects with empty filename ___ Python tracker

[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 ___ __

[issue19658] inspect.getsource weird case

2013-11-19 Thread Ronny Pfannschmidt
Changes by Ronny Pfannschmidt : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[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 "", line 1, in File "/home/private/.local/lib/python3.3/inspect.py", line 726, in getsourc