Skip to content
Unverified Commit 5afba4ff authored by vsydorov's avatar vsydorov Committed by GitHub
Browse files

Fix critical bug when re-entering IPython 8.0.0 (and later) external shell (#533)



* Fix critical bug when re-entering IPython 8.4.0+ external shell

- IPython 8.4.0+ performs at-exit operations after calling mainloop
  (introduced by 08d54c0e367b535fd88aca5273fd09e5e70d08f8 commmit),
  breaking necessary PuDB functionality. This prevents re-entering
  IPython shell
- Quick fix sets/unsets internal shell._atexit_once_called property
  during run_ipython_shell_v11, preventing those operations from being
  executed

* Fix "E501 line too long" error from flake8

- Bug start in IPython 8.0.0. Update comment accordingly.

Co-authored-by: default avatarVladyslav Sydorov <vlad@vsydorov.com>
parent ecd7af54
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment