Show More
@@ -19,8 +19,8 b' You should be able to update by using:' | |||
|
19 | 19 | .. note:: |
|
20 | 20 | |
|
21 | 21 | If your pip version is greater of equal to pip 9.0.1 you will automatically get |
|
22 |
the most recent version of IPython compatible with your system |
|
|
23 |
|
|
|
22 | the most recent version of IPython compatible with your system: on Python 2 you | |
|
23 | will get the latest IPython 5.x bugfix, while in Python 3 | |
|
24 | 24 | you will get the latest 6.x stable version. |
|
25 | 25 | |
|
26 | 26 | New completion API and Interface |
@@ -40,7 +40,7 b' the following are now becoming possible without code evaluation:' | |||
|
40 | 40 | That is to say, IPython is now capable of inferring that `data[0]` is a string, |
|
41 | 41 | and will suggest completions like `.capitalize`. The completion power of IPython |
|
42 | 42 | will increase with new Jedi releases, and a number of bugs and more completions |
|
43 | are already available on development version of :any:`jedi` if you are curious. | |
|
43 | are already available on the development version of :any:`jedi` if you are curious. | |
|
44 | 44 | |
|
45 | 45 | With the help of prompt toolkit, types of completions can be shown in the |
|
46 | 46 | completer interface: |
@@ -56,18 +56,18 b' The appearance of the completer is controlled by the' | |||
|
56 | 56 | type differently depending on the value among ``'column'``, ``'multicolumn'`` |
|
57 | 57 | and ``'readlinelike'`` |
|
58 | 58 | |
|
59 |
The use of Jedi also ful |
|
|
60 |
like case |
|
|
59 | The use of Jedi also fulfills a number of requests and fix a number of bugs | |
|
60 | like case-insensitive completion, completion after division operator: See | |
|
61 | 61 | :ghpull:`10182`. |
|
62 | 62 | |
|
63 | 63 | Extra patches and updates will be needed to the :mod:`ipykernel` package for |
|
64 |
this feature to be available to other clients like |
|
|
64 | this feature to be available to other clients like Jupyter Notebook, Lab, | |
|
65 | 65 | Nteract, Hydrogen... |
|
66 | 66 | |
|
67 |
The use of Jedi |
|
|
68 | feel on older ones, in cases were Jedi behavior need to be adjusted, the amount | |
|
67 | The use of Jedi is should be barely noticeable on recent enough machines, but | |
|
68 | can be slower on older ones. To tweak the performances, the amount | |
|
69 | 69 | of time given to Jedi to compute type inference can be adjusted with |
|
70 |
``c.IPCompleter.jedi_compute_type_timeout`` |
|
|
70 | ``c.IPCompleter.jedi_compute_type_timeout``. The objects whose type were not | |
|
71 | 71 | inferred will be shown as ``<unknown>``. Jedi can also be completely deactivated |
|
72 | 72 | by using the ``c.Completer.use_jedi=False`` option. |
|
73 | 73 | |
@@ -80,7 +80,7 b' Python 3 only codebase' | |||
|
80 | 80 | ---------------------- |
|
81 | 81 | |
|
82 | 82 | One of the large challenges in IPython 6.0 has been the adoption of a pure |
|
83 |
Python 3 code |
|
|
83 | Python 3 codebase, which leads us to great length to upstream patches in pip, | |
|
84 | 84 | pypi and warehouse to make sure Python 2 system still upgrade to the latest |
|
85 | 85 | compatible Python version compatible. |
|
86 | 86 | |
@@ -90,19 +90,19 b' automatically upgrade to the latest version compatible with your system.' | |||
|
90 | 90 | |
|
91 | 91 | .. warning:: |
|
92 | 92 | |
|
93 |
If you are on a system using an older ver |
|
|
93 | If you are on a system using an older version of pip on Python 2, pip may | |
|
94 | 94 | still install IPython 6.0 on your system, and IPython will refuse to start. |
|
95 | You can fix this by ugrading pip, and reinstalling ipython, or forcing pip to | |
|
95 | You can fix this by upgrading pip, and reinstalling ipython, or forcing pip to | |
|
96 | 96 | install an earlier version: ``pip install 'ipython<6'`` |
|
97 | 97 | |
|
98 |
The ability to use only Python 3 on the code base of IPython |
|
|
98 | The ability to use only Python 3 on the code base of IPython brings a number | |
|
99 | 99 | of advantage. Most of the newly written code make use of `optional function type |
|
100 | anotation <https://www.python.org/dev/peps/pep-0484/>`_ leading to clearer code | |
|
100 | annotation <https://www.python.org/dev/peps/pep-0484/>`_ leading to clearer code | |
|
101 | 101 | and better documentation. |
|
102 | 102 | |
|
103 |
The total size of the repository has also |
|
|
104 |
|
|
|
105 |
|
|
|
103 | The total size of the repository has also decreased by about 1500 lines (for the | |
|
104 | first time excluding the big split for 4.0). The decrease is potentially | |
|
105 | a bit more for the sour as some documents like this one are append only and | |
|
106 | 106 | are about 300 lines long. |
|
107 | 107 | |
|
108 | 108 | The removal as of Python2/Python3 shim layer has made the code quite clearer and |
@@ -118,8 +118,8 b' Configurable TerminalInteractiveShell, readline interface' | |||
|
118 | 118 | --------------------------------------------------------- |
|
119 | 119 | |
|
120 | 120 | IPython gained a new ``c.TerminalIPythonApp.interactive_shell_class`` option |
|
121 |
that allow |
|
|
122 | should allow user to use custom interfaces, like reviving the former readline | |
|
121 | that allows customizing the class used to start the terminal frontend. This | |
|
122 | should allow a user to use custom interfaces, like reviving the former readline | |
|
123 | 123 | interface which is now a separate package not actively maintained by the core |
|
124 | 124 | team. See the project to bring back the readline interface: `rlipython |
|
125 | 125 | <https://github.com/ipython/rlipython>`_. |
@@ -131,8 +131,8 b' Miscs improvements' | |||
|
131 | 131 | ------------------ |
|
132 | 132 | |
|
133 | 133 | |
|
134 |
- The :cellmagic:`capture` magic can now capture the result of a cell (from |
|
|
135 | expression on the last line), as well as printed and displayed output. | |
|
134 | - The :cellmagic:`capture` magic can now capture the result of a cell (from | |
|
135 | an expression on the last line), as well as printed and displayed output. | |
|
136 | 136 | :ghpull:`9851`. |
|
137 | 137 | |
|
138 | 138 | - Pressing Ctrl-Z in the terminal debugger now suspends IPython, as it already |
@@ -166,7 +166,7 b' Functions Deprecated in 6.x Development cycle' | |||
|
166 | 166 | Deprecated (raising a Deprecation Warning) and marked for later removal |
|
167 | 167 | :ghpull:`10104` |
|
168 | 168 | |
|
169 |
Backward |
|
|
169 | Backward incompatible changes | |
|
170 | 170 | ------------------------------ |
|
171 | 171 | |
|
172 | 172 | Functions Removed in 6.x Development cycle |
General Comments 0
You need to be logged in to leave comments.
Login now