##// END OF EJS Templates
Clear filter
Show hidden
Commit Message Age Author Refs
load previous
r28936:b65cf89c
validate ESC_PAREN ('/') is followed by a callable name and not empty (#12690) When running a single python expression with just a slash - `/`, a tuple is returned. ```python In [1]: / Out[1]: () ``` This weird case happens because when a line starts with `/` the `inputtransformer` transforms it into a call of the first word after the `/` as the callable name and rest tokens after as arguments. This PR fixes that issue by validating that at least a callable name is given and it's not empty, if not a `SyntaxError` will be raised. ```python In [1]: / File "<ipython-input-1-8f27084b6294>", line 1 / ^ SyntaxError: invalid syntax In [2]: ``` Validated that tests are passing.
M Bussonnier
merge
0
r28935:e8c98709
validate that ESC_PAREN ('/') is followed by a callable name and not empty
Guy Bortnikov
0
r28934:c8d94694
FIX: Typing annotations Running `mypy -p IPython.sphinxext` raised a few errors. Fix them and strip some trailing whitespace from a few places.
farisachugthai
0
r28933:6aa7cdc7
back to dev
M Bussonnier
0
r28932:af19fb05
release 8.29.0
M Bussonnier
0
r28931:b2fc3082
Whats new 8.29 (#14560)
M Bussonnier
merge
0
r28930:9c221bbe
Whats new 8.29
M Bussonnier
0
r28929:d0226573
Fix line stripping edge case for %load magic command (#14495) Closes: #14494
M Bussonnier
merge
0
r28928:25703b5b
Refactor with Pathlib for setupbase.py (#14543) Continued efforts for #12515 though it has been closed. Validated to be okay by running the following. - `pip install -e ".[all]"` - `pytest` Please note that there are also some syntactical modifications, and part of them are from the darker linter.
M Bussonnier
merge
0
r28927:de562f8c
Fix re pattern pretty print (#14559) Alternative to #14558
M Bussonnier
merge
0
r28926:298e9f57
Fix formatting
Jisu Ryu
0
r28925:2888354f
Fix line stripping logic
Jisu Ryu
0
r28924:d7d58a36
ENH: add webp support to IPython.display.Image and complete identification of JPEG,PNG,GIF,WEBP image types by initial bytes (#14526) - So that `Image('./example.webp')` does not raise a `"Cannot embed the 'webp' image format"` error. - So that matplotlib animations saved as .webp images work (e.g. when ffmpeg+h264 isn't working).
M Bussonnier
merge
0
r28923:5f39fd87
Fix str error in path again
kevin1kevin1k
0
r28922:7e856bd8
Fix str error in path
kevin1kevin1k
0
r28921:29491e6b
Refactor with Pathlib for setupbase.py
kevin1kevin1k
0
r28920:cc593706
DOC: whatsnew/version8.rst: Add support for WEBP to IPython.display.Image
Wes Turner
0
r28919:2b8bb5ad
DOC: include WEBP in the display.Image docstring
Wes Turner
0
r28918:380665cb
CLN: remove self. from the _GIF1 and _GIF2 globals
Wes Turner
0
r28917:44421d9a
CLN: core/display: reformat per darker
Wes Turner
0
load next
< 1 .. 4 5 6 7 8 .. 1364 >
showing 20 out of 27280 commits