Skip to content

Temporary quick fix for getsource() on IPython interpreter (fixes #346)#531

Merged
mmckerns merged 2 commits intouqfoundation:masterfrom
leogama:getsource
Jul 29, 2022
Merged

Temporary quick fix for getsource() on IPython interpreter (fixes #346)#531
mmckerns merged 2 commits intouqfoundation:masterfrom
leogama:getsource

Conversation

@leogama
Copy link
Contributor

@leogama leogama commented Jul 26, 2022

Works for IPython and Jupyter, specially with functions and (most) classes. Fixes #346

Copy link
Member

@mmckerns mmckerns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dill.source.getsource fails inside of ipython

2 participants