You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tracked this down: Pdb itself (which iPDB inherits from) loads readline unconditionally. So nothing IPython can do about it (aside maybe from patching builtins.__import__).
which, due to the above referenced Pdb itself code, imports readline. So the docstring statement for new Pdb of:
"""Modified Pdb class, does not load readline."""
is incorrect. It does not directly load readline, but it causes it to be loaded via the parent class. This is only valid when TerminalPdb is not used, i.e. with simpleprompt.
Despite its code indicating that iPDB doesn't load readline:
Can also be seen by running under
python -v -m IPython
:This leads to issues accepting raw control characters (see #13775).
The text was updated successfully, but these errors were encountered: