ipython 7.10.1 and ipdb 0.12.3
See original GitHub issueI’m currently running into an issue with inputhook
In [1]: import ipdb; ipdb.set_trace()
<IPython.terminal.debugger.TerminalPdb object at 0x7fbca4678b50>
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-f3f8e0a2fcd8> in <module>
----> 1 import ipdb; ipdb.set_trace()
/usr/local/lib/python3.8/site-packages/ipdb/__main__.py in set_trace(frame, context)
65 if frame is None:
66 frame = sys._getframe().f_back
---> 67 p = _init_pdb(context).set_trace(frame)
68 if p and hasattr(p, 'shell'):
69 p.shell.restore_sys_module_state()
/usr/local/lib/python3.8/site-packages/ipdb/__main__.py in _init_pdb(context, commands)
46 def _init_pdb(context=3, commands=[]):
47 try:
---> 48 p = debugger_cls(context=context)
49 except TypeError:
50 p = debugger_cls()
/usr/local/lib/python3.8/site-packages/IPython/terminal/debugger.py in __init__(self, *args, **kwargs)
28 Pdb.__init__(self, *args, **kwargs)
29 self._ptcomp = None
---> 30 self.pt_init()
31
32 def pt_init(self):
/usr/local/lib/python3.8/site-packages/IPython/terminal/debugger.py in pt_init(self)
68 if not PTK3:
69 print(self)
---> 70 options['inputhook'] = self.inputhook
71 self.pt_app = PromptSession(**options)
72
AttributeError: 'TerminalPdb' object has no attribute 'inputhook'
I’m trying to investigate and I’ll update with my own findings
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:12 (9 by maintainers)
Top Results From Across the Web
7.x Series — IPython 8.7.0 documentation
IPython 7.25 is a minor release that contains a single bugfix, which is highly recommended for all users of ipdb, ipython debugger %debug...
Read more >ipdb · PyPI
Use. ipdb exports functions to access the IPython debugger, which features tab completion, syntax highlighting, better tracebacks, better introspection with the ...
Read more >News - IPython
IPython 5.3.0 was released on February 24th, 2017. This is primarily a bugfix release, with some small new features. See the release notes...
Read more >wemake-services/wemake-python-styleguide | Coveralls - Test ...
Pull Request Pull Request #1053: Bump ipdb from 0.12.2 to 0.12.3. Run Details. 2273 of 2273 branches covered (100.0%). Branch coverage included in...
Read more >Available Python wheels - CC Doc
DeepCell, 0.12.3 ... ipdb, 0.11, 0.10.3 ... 7.15.0, 7.14.0, 7.13.0, 7.11.1, 7.10.1, 7.9.0, 7.8.0, 7.6.1, 7.5.0, 7.3.0, 7.2.0, 6.5.0, 6.4.0, 6.2.1, 6.1.0.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Try this: https://github.com/ipython/ipython/pull/12007
in the meantime I may try downgrading to 7.9 since I don’t think I care too much about having the very latest version?