Show More
@@ -541,7 +541,9 class TerminalInteractiveShell(InteractiveShell): | |||||
541 | if key in shortcut |
|
541 | if key in shortcut | |
542 | } |
|
542 | } | |
543 | if len(matching) == 0: |
|
543 | if len(matching) == 0: | |
544 |
raise ValueError( |
|
544 | raise ValueError( | |
|
545 | f"No shortcuts matching {specification} found in {key_bindings.bindings}" | |||
|
546 | ) | |||
545 | elif len(matching) > 1: |
|
547 | elif len(matching) > 1: | |
546 | raise ValueError( |
|
548 | raise ValueError( | |
547 | f"Multiple shortcuts matching {specification} found," |
|
549 | f"Multiple shortcuts matching {specification} found," |
@@ -2,6 +2,46 | |||||
2 | 8.x Series |
|
2 | 8.x Series | |
3 | ============ |
|
3 | ============ | |
4 |
|
4 | |||
|
5 | .. _version 8.11.0: | |||
|
6 | ||||
|
7 | IPython 8.11 | |||
|
8 | ------------ | |||
|
9 | ||||
|
10 | Back on almost regular monthly schedule for IPython with end-of-month | |||
|
11 | really-late-Friday release, with a few new features, bugfix and UX improvements. | |||
|
12 | ||||
|
13 | This is a non-exhaustive list, but among other you will find: | |||
|
14 | ||||
|
15 | Faster Traceback Highlighting | |||
|
16 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
|
17 | ||||
|
18 | Resurrection of pre-IPython-8 traceback highlighting code. | |||
|
19 | ||||
|
20 | Really long and complicated files were slow to highlight in traceback with | |||
|
21 | IPython 8 despite upstream improvement that make many case better. Therefore | |||
|
22 | starting with IPython 8.11 when one of the highlighted file is more than 10 000 | |||
|
23 | line long by default, we'll fallback to a faster path that does not have all the | |||
|
24 | features of highlighting failing AST nodes. | |||
|
25 | ||||
|
26 | This can be configures by setting the value of | |||
|
27 | ``IPython.code.ultratb.FAST_THRESHOLD`` to an arbitrary low or large value. | |||
|
28 | ||||
|
29 | Miscellaneous | |||
|
30 | ~~~~~~~~~~~~~ | |||
|
31 | ||||
|
32 | - ``%gui`` should now support PySide6. :ghpull:`13864` | |||
|
33 | - Cli shortcuts can now be configured :ghpull:`13928` | |||
|
34 | - Capture output should now respect ``;`` semicolon to suppress output. | |||
|
35 | :ghpull:`13940` | |||
|
36 | ||||
|
37 | - Base64 encoded images (in jupyter frontend), will not have trailing newlines. | |||
|
38 | :ghpull:`13941` | |||
|
39 | ||||
|
40 | As usual you can find the full list of PRs on GitHub under `the 8.10 milestone | |||
|
41 | <https://github.com/ipython/ipython/milestone/113?closed=1>`__. | |||
|
42 | ||||
|
43 | Thanks to the `D. E. Shaw group <https://deshaw.com/>`__ for sponsoring | |||
|
44 | work on IPython and related libraries. | |||
5 |
|
45 | |||
6 | .. _version 8.10.0: |
|
46 | .. _version 8.10.0: | |
7 |
|
47 | |||
@@ -262,7 +302,7 Here is a non-exhaustive list of changes that have been implemented for IPython | |||||
262 | - show maxlen in deque's repr. :ghpull:`13648` |
|
302 | - show maxlen in deque's repr. :ghpull:`13648` | |
263 |
|
303 | |||
264 | Restore line numbers for Input |
|
304 | Restore line numbers for Input | |
265 | ------------------------------ |
|
305 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
266 |
|
306 | |||
267 | Line number information in tracebacks from input are restored. |
|
307 | Line number information in tracebacks from input are restored. | |
268 | Line numbers from input were removed during the transition to v8 enhanced traceback reporting. |
|
308 | Line numbers from input were removed during the transition to v8 enhanced traceback reporting. | |
@@ -315,7 +355,7 or, with xmode=Plain:: | |||||
315 | :ghpull:`13560` |
|
355 | :ghpull:`13560` | |
316 |
|
356 | |||
317 | New setting to silence warning if working inside a virtual environment |
|
357 | New setting to silence warning if working inside a virtual environment | |
318 | ---------------------------------------------------------------------- |
|
358 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
319 |
|
359 | |||
320 | Previously, when starting IPython in a virtual environment without IPython installed (so IPython from the global environment is used), the following warning was printed: |
|
360 | Previously, when starting IPython in a virtual environment without IPython installed (so IPython from the global environment is used), the following warning was printed: | |
321 |
|
361 |
General Comments 0
You need to be logged in to leave comments.
Login now