This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author t-vi
Recipients Ivan.Pozdeev, t-vi
Date 2018-06-15.20:14:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529093642.68.0.56676864532.issue33826@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-06-15 20:14:02t-visetrecipients: + t-vi, Ivan.Pozdeev
2018-06-15 20:14:02t-visetmessageid: <1529093642.68.0.56676864532.issue33826@psf.upfronthosting.co.za>
2018-06-15 20:14:02t-vilinkissue33826 messages
2018-06-15 20:14:02t-vicreate