Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unregister trait-change callback in ExtensionManager.__del__ #9040

Merged
merged 1 commit into from Dec 11, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions IPython/core/extensions.py
Expand Up @@ -59,11 +59,6 @@ def __init__(self, shell=None, **kwargs):
)
self.loaded = set()

def __del__(self):
self.shell.on_trait_change(
self._on_ipython_dir_changed, 'ipython_dir', remove=True
)

@property
def ipython_extension_dir(self):
return os.path.join(self.shell.ipython_dir, u'extensions')
Expand Down