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