Skip to content

Commit fbb8fe8

Browse files
Carreaumeeseeksmachine
authored andcommitted
Backport PR #12834: Update whats new for dev and 7.21
1 parent bd4d0a4 commit fbb8fe8

File tree

3 files changed

+52
-5
lines changed

3 files changed

+52
-5
lines changed

docs/source/whatsnew/development.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ Need to be updated:
2424

2525

2626

27+
28+
Show pinfo information in ipdb using "?" and "??"
29+
-------------------------------------------------
30+
31+
In IPDB, it is now possible to show the information about an object using "?"
32+
and "??", in much the same way it can be done when using the IPython prompt::
33+
34+
ipdb> partial?
35+
Init signature: partial(self, /, *args, **kwargs)
36+
Docstring:
37+
partial(func, *args, **keywords) - new function with partial application
38+
of the given arguments and keywords.
39+
File: ~/.pyenv/versions/3.8.6/lib/python3.8/functools.py
40+
Type: type
41+
Subclasses:
42+
43+
Previously, "pinfo" or "pinfo2" command had to be used for this purpose.
44+
2745
.. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT.
2846
2947
As a reminder, IPython master has diverged from the 7.x branch, thus master may

docs/source/whatsnew/pr/ipdb-context-command.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/source/whatsnew/version7.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22
7.x Series
33
============
44

5+
.. _version 721:
6+
7+
IPython 7.21
8+
============
9+
10+
IPython 7.21 is the first release we have back on schedule of one release every
11+
month; it contains a number of minor fixes and improvements, notably, the new
12+
context command for ipdb
13+
14+
15+
New "context" command in ipdb
16+
-----------------------------
17+
18+
It is now possible to change the number of lines shown in the backtrace
19+
information in ipdb using "context" command. :ghpull:`12826`
20+
21+
(thanks @MrMino, there are other improvement from them on master).
22+
23+
Other notable changes in IPython 7.21
24+
-------------------------------------
25+
26+
- Fix some issues on new osx-arm64 :ghpull:`12804`, :ghpull:`12807`.
27+
- Compatibility with Xeus-Python for debugger protocol, :ghpull:`12809`
28+
- Misc docs fixes for compatibility and uniformity with Numpydoc.
29+
:ghpull:`12824`
30+
31+
32+
Thanks
33+
------
34+
35+
Many thanks to all the contributors to this release you can find all individual
36+
contribution to this milestone `on github <https://github.com/ipython/ipython/milestone/83>`_.
37+
38+
539
.. _version 720:
640

741
IPython 7.20

0 commit comments

Comments
 (0)