##// END OF EJS Templates
Backport PR #12995: Prepare release notes for IPython 7.24
Matthias Bussonnier -
Show More
@@ -2,27 +2,48 b''
2 7.x Series
2 7.x Series
3 ============
3 ============
4
4
5 .. _version 7.24:
5
6
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
7 originating from files that are not writable to the user, as these are less
26 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.
9
29
10 In addition to the global ``skip_hidden True|False`` command, the debugger has
30 In addition to the global ``skip_hidden True|False`` command, the debugger has
11 gained finer grained control of predicates as to whether to a frame should be
31 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 :
13
33
14 - ``tbhide``: frames containing the local variable ``__tracebackhide__`` set to
34 - ``tbhide``: frames containing the local variable ``__tracebackhide__`` set to
15 True.
35 True.
16 - ``readonly``: frames originating from readonly files.
36 - ``readonly``: frames originating from readonly files, set to False.
17 - ``ipython_internal``: frames that are likely to be from IPython internal code.
37 - ``ipython_internal``: frames that are likely to be from IPython internal
38 code, set to True.
18
39
19 You can toggle individual predicates during a session with
40 You can toggle individual predicates during a session with
20
41
21 .. code-block::
42 .. code-block::
22
43
23 ipdb> skip_predicates readonly False
44 ipdb> skip_predicates readonly True
24
45
25 Read-only files will not be considered hidden frames.
46 Read-only files will now be considered hidden frames.
26
47
27
48
28 You can call ``skip_predicates`` without arguments to see the states of current
49 You can call ``skip_predicates`` without arguments to see the states of current
@@ -33,7 +54,7 b' predicates:'
33 ipdb> skip_predicates
54 ipdb> skip_predicates
34 current predicates:
55 current predicates:
35 tbhide : True
56 tbhide : True
36 readonly : True
57 readonly : False
37 ipython_internal : True
58 ipython_internal : True
38
59
39 If all predicates are set to ``False``, ``skip_hidden`` will practically have
60 If all predicates are set to ``False``, ``skip_hidden`` will practically have
@@ -41,15 +62,27 b' no effect. We attempt to warn you when all predicates are False.'
41
62
42 Note that the ``readonly`` predicate may increase disk access as we check for
63 Note that the ``readonly`` predicate may increase disk access as we check for
43 file access permission for all frames on many command invocation, but is usually
64 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.
45
77
46
78
47
79
48
80
49 .. _version 7.23:
81 .. _version 7.23:
50
82
51 IPython 7.23
83 IPython 7.23 and 7.23.1
52 ============
84 =======================
85
53
86
54 Third release of IPython for 2021, mostly containing bug fixes. A couple of not
87 Third release of IPython for 2021, mostly containing bug fixes. A couple of not
55 typical updates:
88 typical updates:
@@ -63,7 +96,7 b' typical updates:'
63 matplotlib inline backend specific behavior. It is available on PyPI and
96 matplotlib inline backend specific behavior. It is available on PyPI and
64 conda-forge thus should not be a problem to upgrade to this version. If you
97 conda-forge thus should not be a problem to upgrade to this version. If you
65 are a package maintainer that might be an extra dependency to package first.
98 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)
67
100
68 In the addition/new feature category, ``display()`` now have a ``clear=True``
101 In the addition/new feature category, ``display()`` now have a ``clear=True``
69 option to clear the display if any further outputs arrives, allowing users to
102 option to clear the display if any further outputs arrives, allowing users to
@@ -76,6 +109,7 b' In code cleanup category :ghpull:`12932` remove usage of some deprecated'
76 functionality for compatibility with Python 3.10.
109 functionality for compatibility with Python 3.10.
77
110
78
111
112
79 Thanks
113 Thanks
80 ------
114 ------
81
115
General Comments 0
You need to be logged in to leave comments. Login now