[issue33826] enable discovery of class source code in IPython interactively defined classes
Thomas Viehmann
report at bugs.python.org
Fri Jun 15 16:14:02 EDT 2018
Thomas Viehmann <tv.python.org at beamnet.de> added the comment:
So I want "inspect.showsource" to have the same output whether my class has been defined in a .py or in my Jupyter notebook.
I appreciate there are limitations to what "inspect.showsource" can do, but I am not so sure how that creates uncertainty my expectation of the output when it should just be the same as the current behaviour when the class is defined in a .py module.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33826>
_______________________________________
More information about the Python-bugs-list
mailing list