Closed vsydorov closed 2 years ago
Thanks! This isn't beautiful, but I'd be OK with merging it.
Hi, I've fixed E:501 that was causing that linter failure. Also made edits to reflect that the bug was introduced in version 8.0.0 of IPython. I went down the version history of IPython, up to the last supported (7.10.0) by current pudb version. Didn't notice any issues caused by the proposed fix.
Versions checked:
Thanks for taking a thorough look!
I've found a bug with recent IPython 8.0.0 shell, which disrupts my personal workflow. Opening the external IPython shell (via !) only works properly the first time, namespace gets disrupted afterwards. You can verify this by calling globals() within the IPython shell and comparing results after the first and second time you enter the shell.
Here's a little fix for this bug: