[issue44648] Inspect.getsource raises wrong error on classes in interactive session

Andrei Kulakov report at bugs.python.org
Fri Jul 16 11:16:39 EDT 2021


Andrei Kulakov <andrei.avk at gmail.com> added the comment:

I'm not sure though how is the unit test succeeding since the test module should have __file__ set. Looking into it..

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44648>
_______________________________________


More information about the Python-bugs-list mailing list