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

MAINT: partial type fixes. #14193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

MAINT: partial type fixes. #14193

wants to merge 1 commit into from

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Oct 1, 2023

See #14181

This fixes the first few errors.

See ipython#14181

This fixes the first few errors.
Comment on lines +89 to +97
if self.shell and getattr(self.shell, "builtin_trap", None) is not None:
with self.shell.builtin_trap:
if module_str not in sys.modules:
mod = import_module(module_str)
mod = sys.modules[module_str]
if self._call_load_ipython_extension(mod):
self.loaded.add(module_str)
else:
return "no load function"
Copy link
Member Author

Choose a reason for hiding this comment

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

I think I'm going to make builtin_trap non optional.

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.

None yet

1 participant