Show More
@@ -10,49 +10,6 b' This document describes in-flight development work.' | |||||
10 | conflicts for other Pull Requests). Instead, create a new file in the |
|
10 | conflicts for other Pull Requests). Instead, create a new file in the | |
11 | `docs/source/whatsnew/pr` folder |
|
11 | `docs/source/whatsnew/pr` folder | |
12 |
|
12 | |||
13 | IPython 6.2 contains all the bugs fixes and features available in IPython 5.5: |
|
|||
14 |
|
||||
15 | - Built in progress bar support |
|
|||
16 | - System Wide config |
|
|||
17 |
|
||||
18 | As well as the following: |
|
|||
19 |
|
||||
20 |
|
||||
21 | Function signature |
|
|||
22 | ------------------ |
|
|||
23 |
|
||||
24 | Terminal IPython will now show the signature of the function while completing. |
|
|||
25 | Only the currently highlighted function will show its signature on the line |
|
|||
26 | below the completer by default. The functionality is recent so might be |
|
|||
27 | limited, we welcome bug report and enhancement request on it. :gh:`10507` |
|
|||
28 |
|
||||
29 | Assignments return values |
|
|||
30 | ------------------------- |
|
|||
31 |
|
||||
32 | IPython can now trigger the display hook on last assignment of cells. |
|
|||
33 | Up until 6.0 the following code wouldn't show the value of the assigned |
|
|||
34 | variable:: |
|
|||
35 |
|
||||
36 | In[1]: xyz = "something" |
|
|||
37 | # nothing shown |
|
|||
38 |
|
||||
39 | You would have to actually make it the last statement:: |
|
|||
40 |
|
||||
41 | In [2]: xyz = "something else" |
|
|||
42 | ... : xyz |
|
|||
43 | Out[2]: "something else" |
|
|||
44 |
|
||||
45 | With the option ``InteractiveShell.ast_node_interactivity='last_expr_or_assign'`` |
|
|||
46 | you can now do:: |
|
|||
47 |
|
||||
48 | In [2]: xyz = "something else" |
|
|||
49 | Out[2]: "something else" |
|
|||
50 |
|
||||
51 | This option can be toggled at runtime with the ``%config`` magic, and will |
|
|||
52 | trigger on assignment ``a = 1``, augmented assignment ``+=``, ``-=``, ``|=`` ... |
|
|||
53 | as well as type annotated assignments: ``a:int = 2``. |
|
|||
54 |
|
||||
55 | See :gh:`10598` |
|
|||
56 |
|
13 | |||
57 |
|
14 | |||
58 | .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT. |
|
15 | .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT. |
@@ -2,7 +2,8 b'' | |||||
2 | 5.x Series |
|
2 | 5.x Series | |
3 | ============ |
|
3 | ============ | |
4 |
|
4 | |||
5 | .. _whatsnew540: |
|
5 | ||
|
6 | .. _whatsnew550: | |||
6 |
|
7 | |||
7 | IPython 5.5 |
|
8 | IPython 5.5 | |
8 | =========== |
|
9 | =========== | |
@@ -55,6 +56,7 b' and all the `backport versions <https://github.com/ipython/ipython/pulls?utf8=%E' | |||||
55 |
|
56 | |||
56 |
|
57 | |||
57 |
|
58 | |||
|
59 | .. _whatsnew540: | |||
58 |
|
60 | |||
59 | IPython 5.4 |
|
61 | IPython 5.4 | |
60 | =========== |
|
62 | =========== |
@@ -2,6 +2,55 b'' | |||||
2 | 6.x Series |
|
2 | 6.x Series | |
3 | ============ |
|
3 | ============ | |
4 |
|
4 | |||
|
5 | ||||
|
6 | .. _whatsnew620: | |||
|
7 | ||||
|
8 | IPython 6.2 | |||
|
9 | =========== | |||
|
10 | ||||
|
11 | ||||
|
12 | IPython 6.2 contains all the bugs fixes and features :ref:`available in IPython 5.5 <whatsnew550>`, | |||
|
13 | like built in progress bar support, and system-wide configuration | |||
|
14 | ||||
|
15 | The following features are specific to IPython 6.2: | |||
|
16 | ||||
|
17 | Function signature in completions | |||
|
18 | --------------------------------- | |||
|
19 | ||||
|
20 | Terminal IPython will now show the signature of the function while completing. | |||
|
21 | Only the currently highlighted function will show its signature on the line | |||
|
22 | below the completer by default. This functionality is recent, so it might be | |||
|
23 | limited; we welcome bug reports and requests for enhancements. :ghpull:`10507` | |||
|
24 | ||||
|
25 | Assignments return values | |||
|
26 | ------------------------- | |||
|
27 | ||||
|
28 | IPython can now trigger the display hook on the last assignment of cells. | |||
|
29 | Up until 6.2 the following code wouldn't show the value of the assigned | |||
|
30 | variable:: | |||
|
31 | ||||
|
32 | In[1]: xyz = "something" | |||
|
33 | # nothing shown | |||
|
34 | ||||
|
35 | You would have to actually make it the last statement:: | |||
|
36 | ||||
|
37 | In [2]: xyz = "something else" | |||
|
38 | ... : xyz | |||
|
39 | Out[2]: "something else" | |||
|
40 | ||||
|
41 | With the option ``InteractiveShell.ast_node_interactivity='last_expr_or_assign'`` | |||
|
42 | you can now do:: | |||
|
43 | ||||
|
44 | In [2]: xyz = "something else" | |||
|
45 | Out[2]: "something else" | |||
|
46 | ||||
|
47 | This option can be toggled at runtime with the ``%config`` magic, and will | |||
|
48 | trigger on assignment ``a = 1``, augmented assignment ``+=``, ``-=``, ``|=`` ... | |||
|
49 | as well as type annotated assignments: ``a:int = 2``. | |||
|
50 | ||||
|
51 | See :ghpull:`10598` | |||
|
52 | ||||
|
53 | ||||
5 | .. _whatsnew610: |
|
54 | .. _whatsnew610: | |
6 |
|
55 | |||
7 | IPython 6.1 |
|
56 | IPython 6.1 |
General Comments 0
You need to be logged in to leave comments.
Login now