Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 852a6b2

Browse files
authored
Merge pull request #12995 from Carreau/wn724
Prepare release notes for IPython 7.24
2 parents 51ddf3b + aca83d5 commit 852a6b2

1 file changed

Lines changed: 46 additions & 12 deletions

File tree

docs/source/whatsnew/version7.rst

Lines changed: 46 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,48 @@
22
7.x Series
33
============
44

5+
.. _version 7.24:
56

6-
The debugger (and ``%debug`` magic) have been improved to skip and hide frames
7+
IPython 7.24
8+
============
9+
10+
Third release of IPython for 2021, mostly containing bug fixes. A couple of not
11+
typical updates:
12+
13+
Misc
14+
----
15+
16+
17+
- Fix an issue where ``%recall`` would both succeeded and print an error message
18+
it failed. :ghpull:`12952`
19+
- Drop support for NumPy 1.16 – practically has no effect beyond indicating in
20+
package metadata that we do not support it. :ghpull:`12937`
21+
22+
Debugger improvements
23+
---------------------
24+
25+
The debugger (and ``%debug`` magic) have been improved and can skip or hide frames
726
originating from files that are not writable to the user, as these are less
8-
likely to be the source of errors, or be part of system files.
27+
likely to be the source of errors, or be part of system files this can be a useful
28+
addition when debugging long errors.
929

1030
In addition to the global ``skip_hidden True|False`` command, the debugger has
1131
gained finer grained control of predicates as to whether to a frame should be
12-
considered hidden. So far 3 predicates are available and activated by default:
32+
considered hidden. So far 3 predicates are available :
1333

1434
- ``tbhide``: frames containing the local variable ``__tracebackhide__`` set to
1535
True.
16-
- ``readonly``: frames originating from readonly files.
17-
- ``ipython_internal``: frames that are likely to be from IPython internal code.
36+
- ``readonly``: frames originating from readonly files, set to False.
37+
- ``ipython_internal``: frames that are likely to be from IPython internal
38+
code, set to True.
1839

1940
You can toggle individual predicates during a session with
2041

2142
.. code-block::
2243
23-
ipdb> skip_predicates readonly False
44+
ipdb> skip_predicates readonly True
2445
25-
Read-only files will not be considered hidden frames.
46+
Read-only files will now be considered hidden frames.
2647

2748

2849
You can call ``skip_predicates`` without arguments to see the states of current
@@ -33,23 +54,35 @@ predicates:
3354
ipdb> skip_predicates
3455
current predicates:
3556
tbhide : True
36-
readonly : True
57+
readonly : False
3758
ipython_internal : True
3859
3960
If all predicates are set to ``False``, ``skip_hidden`` will practically have
4061
no effect. We attempt to warn you when all predicates are False.
4162

4263
Note that the ``readonly`` predicate may increase disk access as we check for
4364
file access permission for all frames on many command invocation, but is usually
44-
cached by operating system. Let us know if you encounter any issues.
65+
cached by operating systems. Let us know if you encounter any issues.
66+
67+
68+
Thanks
69+
------
70+
71+
Many thanks to all the contributors to this release you can find all individual
72+
contributions to this milestone `on github <https://github.com/ipython/ipython/milestone/87>`__.
73+
74+
Thanks as well to the `D. E. Shaw group <https://deshaw.com/>`__ for sponsoring
75+
work on IPython and related libraries, in particular above mentioned
76+
improvements to the debugger.
4577

4678

4779

4880

4981
.. _version 7.23:
5082

51-
IPython 7.23
52-
============
83+
IPython 7.23 and 7.23.1
84+
=======================
85+
5386

5487
Third release of IPython for 2021, mostly containing bug fixes. A couple of not
5588
typical updates:
@@ -63,7 +96,7 @@ typical updates:
6396
matplotlib inline backend specific behavior. It is available on PyPI and
6497
conda-forge thus should not be a problem to upgrade to this version. If you
6598
are a package maintainer that might be an extra dependency to package first.
66-
:ghpull:`12817`
99+
:ghpull:`12817` (IPython 7.23.1 fix a typo that made this change fail)
67100

68101
In the addition/new feature category, ``display()`` now have a ``clear=True``
69102
option to clear the display if any further outputs arrives, allowing users to
@@ -76,6 +109,7 @@ In code cleanup category :ghpull:`12932` remove usage of some deprecated
76109
functionality for compatibility with Python 3.10.
77110

78111

112+
79113
Thanks
80114
------
81115

0 commit comments

Comments
 (0)