-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: ipython/ipython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7bcd52a
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: ipython/ipython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d64897c
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 5 files changed
- 2 contributors
Commits on Feb 28, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f5661a0 - Browse repository at this point
Copy the full SHA f5661a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec6f9f7 - Browse repository at this point
Copy the full SHA ec6f9f7View commit details
Commits on Mar 3, 2025
-
This fixes the following error when attempting to use autoreload in 9.x ``` In [1]: %load_ext autoreload --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) File ~/Projects/python/python-starter-template/.venv/lib/python3.13/site-packages/IPython/core/extensions.py:62, in ExtensionManager.load_extension(self, module_str) 61 try: ---> 62 return self._load_extension(module_str) 63 except ModuleNotFoundError: File ~/Projects/python/python-starter-template/.venv/lib/python3.13/site-packages/IPython/core/extensions.py:77, in ExtensionManager._load_extension(self, module_str) 76 if module_str not in sys.modules: ---> 77 mod = import_module(module_str) 78 mod = sys.modules[module_str] File ~/.local/share/mise/installs/python/3.13.2/lib/python3.13/importlib/__init__.py:88, in import_module(name, package) 87 level += 1 ---> 88 return _bootstrap._gcd_import(name[level:], package, level) File <frozen importlib._bootstrap>:1387, in _gcd_import(name, package, level) File <frozen importlib._bootstrap>:1360, in _find_and_load(name, import_) File <frozen importlib._bootstrap>:1324, in _find_and_load_unlocked(name, import_) ModuleNotFoundError: No module named 'autoreload' During handling of the above exception, another exception occurred: ModuleNotFoundError Traceback (most recent call last) Cell In[1], line 1 ----> 1 get_ipython().run_line_magic('load_ext', 'autoreload') File ~/Projects/python/python-starter-template/.venv/lib/python3.13/site-packages/IPython/core/interactiveshell.py:2478, in InteractiveShell.run_line_magic(self, magic_name, line, _stack_depth) 2476 kwargs['local_ns'] = self.get_local_scope(stack_depth) 2477 with self.builtin_trap: -> 2478 result = fn(*args, **kwargs) 2480 # The code below prevents the output from being displayed 2481 # when using magics with decorator @output_can_be_silenced 2482 # when the last Python token in the expression is a ';'. 2483 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False): File ~/Projects/python/python-starter-template/.venv/lib/python3.13/site-packages/IPython/core/magics/extension.py:33, in ExtensionMagics.load_ext(self, module_str) 31 if not module_str: 32 raise UsageError('Missing module name.') ---> 33 res = self.shell.extension_manager.load_extension(module_str) 35 if res == 'already loaded': 36 print("The %s extension is already loaded. To reload it, use:" % module_str) File ~/Projects/python/python-starter-template/.venv/lib/python3.13/site-packages/IPython/core/extensions.py:66, in ExtensionManager.load_extension(self, module_str) 64 if module_str in BUILTINS_EXTS: 65 BUILTINS_EXTS[module_str] = True ---> 66 return self._load_extension("IPython.extensions." + module_str) 67 raise File ~/Projects/python/python-starter-template/.venv/lib/python3.13/site-packages/IPython/core/extensions.py:77, in ExtensionManager._load_extension(self, module_str) 75 with self.shell.builtin_trap: 76 if module_str not in sys.modules: ---> 77 mod = import_module(module_str) 78 mod = sys.modules[module_str] 79 if self._call_load_ipython_extension(mod): File ~/.local/share/mise/installs/python/3.13.2/lib/python3.13/importlib/__init__.py:88, in import_module(name, package) 86 break 87 level += 1 ---> 88 return _bootstrap._gcd_import(name[level:], package, level) File <frozen importlib._bootstrap>:1387, in _gcd_import(name, package, level) File <frozen importlib._bootstrap>:1360, in _find_and_load(name, import_) File <frozen importlib._bootstrap>:1331, in _find_and_load_unlocked(name, import_) File <frozen importlib._bootstrap>:935, in _load_unlocked(spec) File <frozen importlib._bootstrap_external>:1026, in exec_module(self, module) File <frozen importlib._bootstrap>:488, in _call_with_frames_removed(f, *args, **kwds) File ~/Projects/python/python-starter-template/.venv/lib/python3.13/site-packages/IPython/extensions/autoreload.py:110 108 from IPython.core import magic_arguments 109 from IPython.core.magic import Magics, magics_class, line_magic --> 110 from IPython.extensions.deduperreload.deduperreload import DeduperReloader 112 __skip_doctest__ = True 114 # ----------------------------------------------------------------------------- 115 # Copyright (C) 2000 Thomas Heller 116 # Copyright (C) 2008 Pauli Virtanen <pav@iki.fi> (...) 127 # Imports 128 # ----------------------------------------------------------------------------- ModuleNotFoundError: No module named 'IPython.extensions.deduperreload' ```Configuration menu - View commit details
-
Copy full SHA for d627d00 - Browse repository at this point
Copy the full SHA d627d00View commit details -
Ideally we should try to go upstream and make sure context is passed as an int always and not a str.
Configuration menu - View commit details
-
Copy full SHA for b82061c - Browse repository at this point
Copy the full SHA b82061cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b28af9b - Browse repository at this point
Copy the full SHA b28af9bView commit details -
Try to fix #4811 (crash ipdb) (#14813)
Ideally we should try to go upstream and make sure context is passed as an int always and not a str.
Configuration menu - View commit details
-
Copy full SHA for 343d43d - Browse repository at this point
Copy the full SHA 343d43dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77be835 - Browse repository at this point
Copy the full SHA 77be835View commit details -
Configuration menu - View commit details
-
Copy full SHA for d64897c - Browse repository at this point
Copy the full SHA d64897cView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 7bcd52a...d64897c