Show More
@@ -541,7 +541,9 b' 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,47 b'' | |||||
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 to make sure some bugs are properly fixed. | |||
|
12 | Small addition of with a few new features, bugfix and UX improvements. | |||
|
13 | ||||
|
14 | This is a non-exhaustive list, but among other you will find: | |||
|
15 | ||||
|
16 | Faster Traceback Highlighting | |||
|
17 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
|
18 | ||||
|
19 | Resurrection of pre-IPython-8 traceback highlighting code. | |||
|
20 | ||||
|
21 | Really long and complicated files were slow to highlight in traceback with | |||
|
22 | IPython 8 despite upstream improvement that make many case better. Therefore | |||
|
23 | starting with IPython 8.11 when one of the highlighted file is more than 10 000 | |||
|
24 | line long by default, we'll fallback to a faster path that does not have all the | |||
|
25 | features of highlighting failing AST nodes. | |||
|
26 | ||||
|
27 | This can be configures by setting the value of | |||
|
28 | ``IPython.code.ultratb.FAST_THRESHOLD`` to an arbitrary low or large value. | |||
|
29 | ||||
|
30 | Miscellaneous | |||
|
31 | ~~~~~~~~~~~~~ | |||
|
32 | ||||
|
33 | - ``%gui`` should now support PySide6. :ghpull:`13864` | |||
|
34 | - Cli shortcuts can now be configured :ghpull:`13928` | |||
|
35 | (note that there might be an issue with prompt_toolkit 3.0.37 and shortcut configuration). | |||
|
36 | - Capture output should now respect ``;`` semicolon to suppress output. | |||
|
37 | :ghpull:`13940` | |||
|
38 | - Base64 encoded images (in jupyter frontend), will not have trailing newlines. | |||
|
39 | :ghpull:`13941` | |||
|
40 | ||||
|
41 | As usual you can find the full list of PRs on GitHub under `the 8.10 milestone | |||
|
42 | <https://github.com/ipython/ipython/milestone/113?closed=1>`__. | |||
|
43 | ||||
|
44 | Thanks to the `D. E. Shaw group <https://deshaw.com/>`__ for sponsoring | |||
|
45 | work on IPython and related libraries. | |||
5 |
|
46 | |||
6 | .. _version 8.10.0: |
|
47 | .. _version 8.10.0: | |
7 |
|
48 | |||
@@ -262,7 +303,7 b' Here is a non-exhaustive list of changes that have been implemented for IPython' | |||||
262 | - show maxlen in deque's repr. :ghpull:`13648` |
|
303 | - show maxlen in deque's repr. :ghpull:`13648` | |
263 |
|
304 | |||
264 | Restore line numbers for Input |
|
305 | Restore line numbers for Input | |
265 | ------------------------------ |
|
306 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
266 |
|
307 | |||
267 | Line number information in tracebacks from input are restored. |
|
308 | Line number information in tracebacks from input are restored. | |
268 | Line numbers from input were removed during the transition to v8 enhanced traceback reporting. |
|
309 | Line numbers from input were removed during the transition to v8 enhanced traceback reporting. | |
@@ -315,7 +356,7 b' or, with xmode=Plain::' | |||||
315 | :ghpull:`13560` |
|
356 | :ghpull:`13560` | |
316 |
|
357 | |||
317 | New setting to silence warning if working inside a virtual environment |
|
358 | New setting to silence warning if working inside a virtual environment | |
318 | ---------------------------------------------------------------------- |
|
359 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
319 |
|
360 | |||
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: |
|
361 | 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 |
|
362 |
@@ -37,7 +37,7 b' install_requires =' | |||||
37 | matplotlib-inline |
|
37 | matplotlib-inline | |
38 | pexpect>4.3; sys_platform != "win32" |
|
38 | pexpect>4.3; sys_platform != "win32" | |
39 | pickleshare |
|
39 | pickleshare | |
40 | prompt_toolkit>=3.0.30,<3.1.0 |
|
40 | prompt_toolkit>=3.0.30,<3.1.0,!=3.0.37 | |
41 | pygments>=2.4.0 |
|
41 | pygments>=2.4.0 | |
42 | stack_data |
|
42 | stack_data | |
43 | traitlets>=5 |
|
43 | traitlets>=5 |
General Comments 0
You need to be logged in to leave comments.
Login now