Show More
@@ -2,6 +2,70 b'' | |||||
2 | 8.x Series |
|
2 | 8.x Series | |
3 | ============ |
|
3 | ============ | |
4 |
|
4 | |||
|
5 | .. _version 8.6.0: | |||
|
6 | ||||
|
7 | IPython 8.6.0 | |||
|
8 | ------------- | |||
|
9 | ||||
|
10 | Back to a more regular release schedule (at least I try), as Friday is | |||
|
11 | already over by more than 24h hours. This is a slightly bigger release with a | |||
|
12 | few new features that contain no less then 25 PRs. | |||
|
13 | ||||
|
14 | We'll notably found a couple of non negligible changes: | |||
|
15 | ||||
|
16 | The ``install_ext`` and related functions have been removed after being | |||
|
17 | deprecated for years. You can use pip to install extensions. ``pip`` did not | |||
|
18 | exists when ``install_ext`` was introduced. You can still load local extensions | |||
|
19 | without installing them. Just set your ``sys.path`` for example. :ghpull:`13744` | |||
|
20 | ||||
|
21 | IPython now have extra entry points that that the major *and minor* version of | |||
|
22 | python. For some of you this mean that you can do a quick ``ipython3.10`` to | |||
|
23 | launch IPython from the Python 3.10 interpreter, while still using Python 3.11 | |||
|
24 | as your main Python. :ghpull:`13743` | |||
|
25 | ||||
|
26 | The completer matcher API have been improved. See :ghpull:`13745`. This should | |||
|
27 | improve the type inference and improve dict keys completions in many use case. | |||
|
28 | Tanks ``@krassowski`` for all the works, and the D.E. Shaw group for sponsoring | |||
|
29 | it. | |||
|
30 | ||||
|
31 | The color of error nodes in tracebacks can now be customized. See | |||
|
32 | :ghpull:`13756`. This is a private attribute until someone find the time to | |||
|
33 | properly add a configuration option. Note that with Python 3.11 that also show | |||
|
34 | the relevant nodes in traceback, it would be good to leverage this informations | |||
|
35 | (plus the "did you mean" info added on attribute errors). But that's likely work | |||
|
36 | I won't have time to do before long, so contributions welcome. | |||
|
37 | ||||
|
38 | As we follow NEP 29, we removed support for numpy 1.19 :ghpull:`13760`. | |||
|
39 | ||||
|
40 | ||||
|
41 | The ``open()`` function present in the user namespace by default will now refuse | |||
|
42 | to open the file descriptors 0,1,2 (stdin, out, err), to avoid crashing IPython. | |||
|
43 | This mostly occurs in teaching context when incorrect values get passed around. | |||
|
44 | ||||
|
45 | ||||
|
46 | The ``?``, ``??``, and corresponding ``pinfo``, ``pinfo2`` magics can now find | |||
|
47 | objects insides arrays. That is to say, the following now works:: | |||
|
48 | ||||
|
49 | ||||
|
50 | >>> def my_func(*arg, **kwargs):pass | |||
|
51 | >>> container = [my_func] | |||
|
52 | >>> container[0]? | |||
|
53 | ||||
|
54 | ||||
|
55 | If ``container`` define a custom ``getitem``, this __will__ trigger the custom | |||
|
56 | method. So don't put side effects in your ``getitems``. Thanks the D.E. Shaw | |||
|
57 | group for the request and sponsoring the work. | |||
|
58 | ||||
|
59 | ||||
|
60 | As usual you can find the full list of PRs on GitHub under `the 8.6 milestone | |||
|
61 | <https://github.com/ipython/ipython/pulls?q=milestone%3A8.6>`__. | |||
|
62 | ||||
|
63 | Thanks to all hacktoberfest contributors, please contribute to | |||
|
64 | `closember.org <https://closember.org/>`__. | |||
|
65 | ||||
|
66 | Thanks to the `D. E. Shaw group <https://deshaw.com/>`__ for sponsoring | |||
|
67 | work on IPython and related libraries. | |||
|
68 | ||||
5 | .. _version 8.5.0: |
|
69 | .. _version 8.5.0: | |
6 |
|
70 | |||
7 | IPython 8.5.0 |
|
71 | IPython 8.5.0 |
General Comments 0
You need to be logged in to leave comments.
Login now