##// END OF EJS Templates
Edit version doc
Carol Willing -
Show More
@@ -7,13 +7,13 b' IPython 5.0'
7
7
8 Released June, 2016
8 Released June, 2016
9
9
10 IPython 5.0 now uses `prompt-toolkit` for the command line interface, thus
10 IPython 5.0 now uses ``prompt-toolkit`` for the command line interface, thus
11 allowing real multi-line editing and syntactic coloration as you type.
11 allowing real multi-line editing and syntactic coloration as you type.
12
12
13
13
14 When using IPython as a subprocess, like for emacs inferior-shell, IPython can
14 When using IPython as a subprocess, like for emacs inferior-shell, IPython can
15 be started with --simple-prompt flag, which will bypass the prompt_toolkit
15 be started with a ``--simple-prompt`` flag, which will bypass the prompt_toolkit
16 input layer. In this mode completion, prompt color and many other features are
16 input layer. In this mode, prompt color and many other features are
17 disabled.
17 disabled.
18
18
19 Backwards incompatible changes
19 Backwards incompatible changes
@@ -21,10 +21,10 b' Backwards incompatible changes'
21
21
22
22
23 The `install_ext magic` function which was deprecated since 4.0 has now been deleted.
23 The `install_ext magic` function which was deprecated since 4.0 has now been deleted.
24 You can still distribute and install extension as packages on PyPI.
24 You can still distribute and install extensions as packages on PyPI.
25
25
26 Update IPython event triggering to ensure callback registration and
26 Update IPython event triggering to ensure callback registration and
27 unregistration only affects the set of callbacks the *next* time that event is
27 unregistration will only affect the set of callbacks the *next* time that event is
28 triggered. See :ghissue:`9447` and :ghpull:`9453`.
28 triggered. See :ghissue:`9447` and :ghpull:`9453`.
29
29
30 This is a change to the existing semantics, wherein one callback registering a
30 This is a change to the existing semantics, wherein one callback registering a
@@ -32,7 +32,7 b' second callback when triggered for an event would previously be invoked for'
32 that same event.
32 that same event.
33
33
34 Integration with pydb has been removed since pydb development has been stopped
34 Integration with pydb has been removed since pydb development has been stopped
35 since 2012, and pydb is not installable from PyPI
35 since 2012, and pydb is not installable from PyPI.
36
36
37
37
38
38
@@ -43,7 +43,7 b' IPython 5.0 now uses ``prompt_toolkit``. The'
43 ``IPython.terminal.interactiveshell.TerminalInteractiveShell`` now uses
43 ``IPython.terminal.interactiveshell.TerminalInteractiveShell`` now uses
44 ``prompt_toolkit``. It is an almost complete rewrite, so many settings have
44 ``prompt_toolkit``. It is an almost complete rewrite, so many settings have
45 thus changed or disappeared. The class keep the same name to avoid breaking
45 thus changed or disappeared. The class keep the same name to avoid breaking
46 user configuration for the options which names is unchanged.
46 user configuration for the options with names that are unchanged.
47
47
48 The usage of ``prompt_toolkit`` is accompanied by a complete removal of all
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
49 code, using ``readline``. A particular effect of not using `readline` anymore
@@ -56,15 +56,15 b' See `TerminalInteractiveShell.prompts` configurable for how to setup your prompt'
56
56
57 .. note::
57 .. note::
58
58
59 During developement and beta cycle, ``TerminalInteractiveShell`` was
59 During development and beta cycle, ``TerminalInteractiveShell`` was
60 temporarly moved to ``IPtyhon.terminal.ptshell``.
60 temporarly moved to ``IPython.terminal.ptshell``.
61
61
62
62
63 Most of the above remarks also affect `IPython.core.debugger.Pdb`, the `%debug`
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.
64 and `%pdb` magic which do not use readline anymore either.
65
65
66 The color handling has been slightly changed and is now exposed
66 The color handling has been slightly changed and is now exposed,
67 through, in particular the colors of prompts and as you type
67 in particular the colors of prompts and as you type
68 highlighting can be affected by :
68 highlighting can be affected by :
69 ``TerminalInteractiveShell.highlight_style``. With default
69 ``TerminalInteractiveShell.highlight_style``. With default
70 configuration the ``--colors`` flag and ``%colors`` magic behavior
70 configuration the ``--colors`` flag and ``%colors`` magic behavior
@@ -74,9 +74,9 b' our documentation'
74 Provisional Changes
74 Provisional Changes
75 -------------------
75 -------------------
76
76
77 Provisional changes are in experimental functionality that may, or may not make
77 Provisional changes are experimental functionality that may, or may not, make
78 it to future version of IPython, and which API may change without warnings.
78 it into a future version of IPython, and which API may change without warnings.
79 Activating these feature and using these API is at your own risk, and may have
79 Activating these features and using these API are at your own risk, and may have
80 security implication for your system, especially if used with the Jupyter notebook,
80 security implication for your system, especially if used with the Jupyter notebook,
81
81
82 When running via the Jupyter notebook interfaces, or other compatible client,
82 When running via the Jupyter notebook interfaces, or other compatible client,
General Comments 0
You need to be logged in to leave comments. Login now