##// END OF EJS Templates
Clear filter
Show hidden
Commit Message Age Author Refs
load previous
r28964:a8810c6c
misc headers fixes
M Bussonnier
0
r28963:d7eebae4
crashhandler: Cast rptdir to Path (#14578) Previously `self.app.ipython_dir` is a string, which makes `Path.is_dir(<object>)` fail. Note that the argument is `self` i.e. should be a `Path` instance. If `ipython_dir` is `None` then this code would just catch it in the `except:` branch, which makes it be set to `Path.cwd()` anyway.
M Bussonnier
merge
0
r28962:17f17d12
Update IPython/core/crashhandler.py
M Bussonnier
0
r28961:938e3baf
Turn on type checking and update crahshandler
M Bussonnier
0
r28960:a336a986
Some documentations about custom formatters (#14579)
M Bussonnier
merge
0
r28959:969bfa68
Some documentations about custom formatters
M Bussonnier
0
r28958:546d856f
crashhandler: Cast rptdir to Path
user202729
0
r28957:0615526f
deprecated ast attribute (#14575)
M Bussonnier
merge
0
r28956:a7baa222
Use non-deprecated run_line_magic function (#14574)
M Bussonnier
merge
0
r28955:806dba27
deprecated ast attribute
M Bussonnier
0
r28954:eca010b4
Use non-deprecated run_line_magic function
M Bussonnier
0
r28952:39c7d0e0
update darker/black (#14567)
M Bussonnier
merge
0
r28951:020e036b
reencode properly
M Bussonnier
0
r28950:ac9ed9c1
do not use .magic(...) that has been deprecated for a decade (#14566)
M Bussonnier
merge
0
r28949:5d95565e
FIX: Typing annotations (#12683) Running `mypy -p IPython.sphinxext` raised a few errors. Fix them and strip some trailing whitespace from a few places.
M Bussonnier
merge
0
r28948:65ad9e8f
Reformat all files that woudl lead to less than 4 lines changed.
M Bussonnier
0
r28947:dbf3a922
update darker/black
M Bussonnier
0
r28946:209f369e
formatting
M Bussonnier
0
r28945:08be4c99
PR: Unassigned allowed commands (#14564) From git git: > Modify binding mechanism to allow binding to one of a set of whitelisted commands, Add five such commands ("beginning_of_buffer", "end_of_buffer", "end_of_line", "forward_word", "unix_line_discard"). Currently, only commands which are assigned by default are allowed to be reassigned: ```python known_commands = { create_identifier(binding.command): binding.command for binding in KEY_BINDINGS } ... if command_id not in known_commands: ... raise ValueError( f"{command_id} is not a known shortcut command." f" Allowed commands are: \n - {allowed_commands}" ) ``` This PR adds a List UNASSIGNED_ALLOWED_COMMANDS and updates `known_commands` (now renamed to be more clear as `allowed_commands`): ```python allowed_commands.update({ create_identifier(command): command for command in UNASSIGNED_ALLOWED_COMMANDS }) ``` The five unassigned allowed commands are: ```python UNASSIGNED_ALLOWED_COMMANDS = [ nc.beginning_of_buffer, nc.end_of_buffer, nc.end_of_line, nc.forward_word, nc.unix_line_discard, ] ``` Motivation tldr: Until now, it is not possible to bind eg the common keybindng `ctrl+e` to prompt_toolkit's `end_of_line` (because it is not bound by default). Full motivation: https://github.com/ipython/ipython/issues/14369
M Bussonnier
merge
0
r28944:f42bfc84
do not use .magic(...) that has been deprecated for a decade
M Bussonnier
0
load next
< 1 2 3 4 5 6 7 .. 1362 >
showing 20 out of 27227 commits