diff --git a/docs/source/whatsnew/development.rst b/docs/source/whatsnew/development.rst index ad2ba44..13f02a4 100644 --- a/docs/source/whatsnew/development.rst +++ b/docs/source/whatsnew/development.rst @@ -10,49 +10,6 @@ This document describes in-flight development work. conflicts for other Pull Requests). Instead, create a new file in the `docs/source/whatsnew/pr` folder -IPython 6.2 contains all the bugs fixes and features available in IPython 5.5: - - - Built in progress bar support - - System Wide config - -As well as the following: - - -Function signature ------------------- - -Terminal IPython will now show the signature of the function while completing. -Only the currently highlighted function will show its signature on the line -below the completer by default. The functionality is recent so might be -limited, we welcome bug report and enhancement request on it. :gh:`10507` - -Assignments return values -------------------------- - -IPython can now trigger the display hook on last assignment of cells. -Up until 6.0 the following code wouldn't show the value of the assigned -variable:: - - In[1]: xyz = "something" - # nothing shown - -You would have to actually make it the last statement:: - - In [2]: xyz = "something else" - ... : xyz - Out[2]: "something else" - -With the option ``InteractiveShell.ast_node_interactivity='last_expr_or_assign'`` -you can now do:: - - In [2]: xyz = "something else" - Out[2]: "something else" - -This option can be toggled at runtime with the ``%config`` magic, and will -trigger on assignment ``a = 1``, augmented assignment ``+=``, ``-=``, ``|=`` ... -as well as type annotated assignments: ``a:int = 2``. - -See :gh:`10598` .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT. diff --git a/docs/source/whatsnew/version5.rst b/docs/source/whatsnew/version5.rst index 58cfb84..8a6359e 100644 --- a/docs/source/whatsnew/version5.rst +++ b/docs/source/whatsnew/version5.rst @@ -2,7 +2,8 @@ 5.x Series ============ -.. _whatsnew540: + +.. _whatsnew550: IPython 5.5 =========== @@ -55,6 +56,7 @@ and all the `backport versions `, +like built in progress bar support, and system-wide configuration + +The following features are specific to IPython 6.2: + +Function signature in completions +--------------------------------- + +Terminal IPython will now show the signature of the function while completing. +Only the currently highlighted function will show its signature on the line +below the completer by default. This functionality is recent, so it might be +limited; we welcome bug reports and requests for enhancements. :ghpull:`10507` + +Assignments return values +------------------------- + +IPython can now trigger the display hook on the last assignment of cells. +Up until 6.2 the following code wouldn't show the value of the assigned +variable:: + + In[1]: xyz = "something" + # nothing shown + +You would have to actually make it the last statement:: + + In [2]: xyz = "something else" + ... : xyz + Out[2]: "something else" + +With the option ``InteractiveShell.ast_node_interactivity='last_expr_or_assign'`` +you can now do:: + + In [2]: xyz = "something else" + Out[2]: "something else" + +This option can be toggled at runtime with the ``%config`` magic, and will +trigger on assignment ``a = 1``, augmented assignment ``+=``, ``-=``, ``|=`` ... +as well as type annotated assignments: ``a:int = 2``. + +See :ghpull:`10598` + + .. _whatsnew610: IPython 6.1