diff --git a/docs/source/whatsnew/development.rst b/docs/source/whatsnew/development.rst index 97ec2f8..3fb260c 100644 --- a/docs/source/whatsnew/development.rst +++ b/docs/source/whatsnew/development.rst @@ -134,6 +134,24 @@ Currently, autosuggestions are only shown in the emacs or vi insert editing mode - The ctrl e, ctrl f, and alt f shortcuts work by default in emacs mode. - To use these shortcuts in vi insert mode, you will have to create `custom keybindings in your config.py `__. + +Show pinfo information in ipdb using "?" and "??" +------------------------------------------------- + +In IPDB, it is now possible to show the information about an object using "?" +and "??", in much the same way it can be done when using the IPython prompt:: + + ipdb> partial? + Init signature: partial(self, /, *args, **kwargs) + Docstring: + partial(func, *args, **keywords) - new function with partial application + of the given arguments and keywords. + File: ~/.pyenv/versions/3.8.6/lib/python3.8/functools.py + Type: type + Subclasses: + +Previously, "pinfo" or "pinfo2" command had to be used for this purpose. + .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT. As a reminder, IPython master has diverged from the 7.x branch, thus master may diff --git a/docs/source/whatsnew/pr/ipdb-context-command.rst b/docs/source/whatsnew/pr/ipdb-context-command.rst deleted file mode 100644 index 80a3bf8..0000000 --- a/docs/source/whatsnew/pr/ipdb-context-command.rst +++ /dev/null @@ -1,5 +0,0 @@ -New "context" command in ipdb ------------------------------ - -It is now possible to change the number of lines shown in the backtrace -information in ipdb using "context" command. diff --git a/docs/source/whatsnew/pr/ipdb-question-marks.rst b/docs/source/whatsnew/pr/ipdb-question-marks.rst deleted file mode 100644 index 7ccad23..0000000 --- a/docs/source/whatsnew/pr/ipdb-question-marks.rst +++ /dev/null @@ -1,16 +0,0 @@ -Show pinfo information in ipdb using "?" and "??" -------------------------------------------------- - -In IPDB, it is now possible to show the information about an object using "?" -and "??", in much the same way it can be done when using the IPython prompt:: - - ipdb> partial? - Init signature: partial(self, /, *args, **kwargs) - Docstring: - partial(func, *args, **keywords) - new function with partial application - of the given arguments and keywords. - File: ~/.pyenv/versions/3.8.6/lib/python3.8/functools.py - Type: type - Subclasses: - -Previously, "pinfo" or "pinfo2" command had to be used for this purpose. diff --git a/docs/source/whatsnew/version7.rst b/docs/source/whatsnew/version7.rst index 3bad527..308d954 100644 --- a/docs/source/whatsnew/version7.rst +++ b/docs/source/whatsnew/version7.rst @@ -2,6 +2,40 @@ 7.x Series ============ +.. _version 721: + +IPython 7.21 +============ + +IPython 7.21 is the first release we have back on schedule of one release every +month; it contains a number of minor fixes and improvements, notably, the new +context command for ipdb + + +New "context" command in ipdb +----------------------------- + +It is now possible to change the number of lines shown in the backtrace +information in ipdb using "context" command. :ghpull:`12826` + +(thanks @MrMino, there are other improvement from them on master). + +Other notable changes in IPython 7.21 +------------------------------------- + +- Fix some issues on new osx-arm64 :ghpull:`12804`, :ghpull:`12807`. +- Compatibility with Xeus-Python for debugger protocol, :ghpull:`12809` +- Misc docs fixes for compatibility and uniformity with Numpydoc. + :ghpull:`12824` + + +Thanks +------ + +Many thanks to all the contributors to this release you can find all individual +contribution to this milestone `on github `_. + + .. _version 720: IPython 7.20