summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core
diff options
context:
space:
mode:
authorivasenkov15 <[email protected]>2024-01-23 12:12:09 +0300
committerivasenkov15 <[email protected]>2024-01-23 12:25:24 +0300
commit4f5160da6ac3805c99917f6448de98460ea8668e (patch)
tree2cf77ab47a1934c8fac76432acc2560d86630566 /contrib/python/ipython/py3/IPython/core
parent0852227e74fca796397668972f80a973c6b3e011 (diff)
fix bank-applications: remove bank-forms usage
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core')
-rw-r--r--contrib/python/ipython/py3/IPython/core/debugger.py2
-rw-r--r--contrib/python/ipython/py3/IPython/core/interactiveshell.py2
-rw-r--r--contrib/python/ipython/py3/IPython/core/magics/basic.py2
-rw-r--r--contrib/python/ipython/py3/IPython/core/release.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/debugger.py b/contrib/python/ipython/py3/IPython/core/debugger.py
index 389592d066d..f3700701405 100644
--- a/contrib/python/ipython/py3/IPython/core/debugger.py
+++ b/contrib/python/ipython/py3/IPython/core/debugger.py
@@ -454,7 +454,7 @@ class Pdb(OldPdb):
with self._hold_exceptions(_chained_exceptions):
OldPdb.interaction(self, frame, tb)
else:
- OldPdb.interaction(self, frame, traceback)
+ OldPdb.interaction(self, frame, tb_or_exc)
except KeyboardInterrupt:
self.stdout.write("\n" + self.shell.get_exception_only())
diff --git a/contrib/python/ipython/py3/IPython/core/interactiveshell.py b/contrib/python/ipython/py3/IPython/core/interactiveshell.py
index 1a73571f788..fef5ddc949b 100644
--- a/contrib/python/ipython/py3/IPython/core/interactiveshell.py
+++ b/contrib/python/ipython/py3/IPython/core/interactiveshell.py
@@ -3604,7 +3604,7 @@ class InteractiveShell(SingletonConfigurable):
# Things related to GUI support and pylab
#-------------------------------------------------------------------------
- active_eventloop = None
+ active_eventloop: Optional[str] = None
def enable_gui(self, gui=None):
raise NotImplementedError('Implement enable_gui in a subclass')
diff --git a/contrib/python/ipython/py3/IPython/core/magics/basic.py b/contrib/python/ipython/py3/IPython/core/magics/basic.py
index 865e760eb18..3ac4049614e 100644
--- a/contrib/python/ipython/py3/IPython/core/magics/basic.py
+++ b/contrib/python/ipython/py3/IPython/core/magics/basic.py
@@ -124,7 +124,7 @@ class BasicMagics(Magics):
In [6]: %whereami
Out[6]: '/home/testuser'
- In [7]: %alias_magic h history "-p -l 30" --line
+ In [7]: %alias_magic h history -p "-l 30" --line
Created `%h` as an alias for `%history -l 30`.
"""
diff --git a/contrib/python/ipython/py3/IPython/core/release.py b/contrib/python/ipython/py3/IPython/core/release.py
index 70d5a675a35..ec50c45721e 100644
--- a/contrib/python/ipython/py3/IPython/core/release.py
+++ b/contrib/python/ipython/py3/IPython/core/release.py
@@ -16,7 +16,7 @@
# release. 'dev' as a _version_extra string means this is a development
# version
_version_major = 8
-_version_minor = 19
+_version_minor = 20
_version_patch = 0
_version_extra = ".dev"
# _version_extra = "rc1"