##// END OF EJS Templates
Consolidate What's new dev and 5.5...
Matthias Bussonnier -
Show More
@@ -10,6 +10,49 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`
13
56
14
57
15 .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT.
58 .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT.
@@ -20,7 +20,7 b' development work they do here in a user friendly format.'
20 .. toctree::
20 .. toctree::
21 :maxdepth: 1
21 :maxdepth: 1
22
22
23 developement
23 development
24 version6
24 version6
25 github-stats-6
25 github-stats-6
26 version5
26 version5
@@ -4,6 +4,36 b''
4
4
5 .. _whatsnew540:
5 .. _whatsnew540:
6
6
7 IPython 5.5
8 ===========
9
10 System Wide config
11 ------------------
12
13 - IPython now looks for config files in ``{sys.prefix}/etc/ipython``
14 for environment-specific configuration.
15 - Startup files can be found in ``/etc/ipython/startup`` or ``{sys.prefix}/etc/ipython/startup``
16 in addition to the profile directory, for system-wide or env-specific startup files.
17
18 See :gh:`10644`
19
20 ProgressBar
21 -----------
22
23
24 IPython now has built-in support for progressbars::
25
26 In[1]: from IPython.display import ProgressBar
27 ... : pb = ProgressBar(100)
28 ... : pb
29
30 In[2]: pb.progress = 50
31
32 # progress bar in cell 1 updates.
33
34 See :gh:`10755`
35
36
7 IPython 5.4
37 IPython 5.4
8 ===========
38 ===========
9
39
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now