vim-repl
vim-repl copied to clipboard
Decorator with arguements is not working in REPL shell with iPython kernel
Describe the bug
Decorator with arguements is not working in REPL shell with iPython kernel.
Details: the same decorator with arguments function is reported TypeError when executed in REPL shell, but is well working in generic bash shell.
Screenshots
Syntax TypeError in REPL Shell: (BUG)
Successful runtime in bash shell: (normal)
Successful runtime in iPython shell alone: (normal)
Desktop (please complete the following information):
- result of
:REPLDebugInfo
:
VIM-REPL, last update: 2019.8.23
Operation System: Linux
Support python3: 1
Support python: 0
has +terminal: 1
has +timers: 1
3.8.10 (default, Nov 22 2023, 10:22:35)
[GCC 9.4.0]
['/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/qiwang/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages', '_
vim_path_']
REPL program:
{'vim': 'vim -e', 'perl': ['/home/qiwang/.vim/plugged/vim-repl/ftplugin/perl/psh'], 'python-debug': 'python3 -m ipdb', 'default': 'bash', 'python': 'ipython'}
setted ipython version8.2
REPL exit commands:
{'vim': 'q', 'zsh': 'exit', 'ptpython': 'quit()', 'lua': 'os.exit()', 'default': 'exit', 'bash': 'exit', 'R': 'q()', 'python': 'quit()', 'ipython': 'quit()'}
Current File Type: python
Current Type: ipython
Current Exit Commands: quit()
Additional context Python version == 3.9.12 Ipython kernel version == 8.2.0
- Hardware info:
- Ubuntu == 18.04