Skip to content

switching update_instance() to gc.get_referrers() #11876

Merged
Carreau merged 1 commit into
ipython:masterfrom
Naikless:autoreload-fix-using-gc.get_referrers()
Sep 8, 2019
Merged

switching update_instance() to gc.get_referrers() #11876
Carreau merged 1 commit into
ipython:masterfrom
Naikless:autoreload-fix-using-gc.get_referrers()

Conversation

@Naikless
Copy link
Copy Markdown
Contributor

@Naikless Naikless commented Sep 4, 2019

The resulting code is almost laughably simple and should also be way more efficient than the previous attempt.

@Naikless
Copy link
Copy Markdown
Contributor Author

Naikless commented Sep 5, 2019

Although I overlooked that you already implemented something using gc, this further reduces the amount of objects to search and might further improve performance.

@Carreau
Copy link
Copy Markdown
Member

Carreau commented Sep 8, 2019

Thanks for working on this ! If that woks for you let's get that in.

@Carreau Carreau merged commit cd54f15 into ipython:master Sep 8, 2019
@Carreau Carreau mentioned this pull request Sep 8, 2019
@esvhd
Copy link
Copy Markdown

esvhd commented Oct 2, 2019

Thanks for fixing this folks. When do you expect 7.9 to hit the road?

@Naikless Naikless deleted the autoreload-fix-using-gc.get_referrers() branch October 7, 2019 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants