Show More
@@ -36,8 +36,8 b' since 2012, and pydb is not installable from PyPI' | |||
|
36 | 36 | |
|
37 | 37 | |
|
38 | 38 | |
|
39 |
Replacement of readline |
|
|
40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
39 | Replacement of readline in TerminalInteractiveShell and PDB | |
|
40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
41 | 41 | |
|
42 | 42 | IPython 5.0 now uses ``prompt_toolkit``. The |
|
43 | 43 | ``IPtyhon.terminal.interactiveshell.TerminalInteractiveShell`` now uses |
@@ -45,14 +45,23 b' IPython 5.0 now uses ``prompt_toolkit``. The' | |||
|
45 | 45 | thus changed or disappeared. The class keep the same name to avoid breaking |
|
46 | 46 | user configuration for the options which names is unchanged. |
|
47 | 47 | |
|
48 | ||
|
49 |
A particular |
|
|
50 |
settings are note effective anymore. Options having similar |
|
|
51 |
been replaced by a configuration option on IPython itself |
|
|
48 | The usage of ``prompt_toolkit`` is accompanied by a complete removal of all | |
|
49 | code, using ``readline``. A particular effect of not using `readline` anymore | |
|
50 | is that `.inputrc` settings are note effective anymore. Options having similar | |
|
51 | effects have likely been replaced by a configuration option on IPython itself | |
|
52 | (e.g: vi input mode). | |
|
52 | 53 | |
|
53 | 54 | The `PromptManager` class have been removed, and the prompt machinery simplified. |
|
54 | 55 | See `TerminalInteractiveShell.prompts` configurable for how to setup your prompts. |
|
55 | 56 | |
|
57 | .. note:: | |
|
58 | ||
|
59 | During developement and beta cycle, ``TerminalInteractiveShell`` was | |
|
60 | temporarly moved to ``IPtyhon.terminal.ptshell``. | |
|
61 | ||
|
62 | ||
|
63 | Most of the above remarks also affect `IPython.core.debugger.Pdb`, the `%debug` | |
|
64 | and `%pdb` magic which do not use readline anymore either. | |
|
56 | 65 | |
|
57 | 66 | |
|
58 | 67 |
General Comments 0
You need to be logged in to leave comments.
Login now