##// END OF EJS Templates
FileLink: accept path-like objects (#11059)...
FileLink: accept path-like objects (#11059) Accept path-like objects by converting them to strings using `os.fsdecode`. From the Python 3 [glossary][1]: > `os.fsdecode()` and `os.fsencode()` can be used to guarantee a `str` > or `bytes` result N.B. `os.fsdecode` accepts path-like objects starting with Python 3.6, so users of older versions still can't use FileLink with path-like objects. [1]: https://docs.python.org/3/glossary.html#term-path-like-object
Cristian Ciupitu -
r24227:707258ee
Show More
Name Size Modified Last Commit Author
/ IPython / lib
tests
__init__.py Loading ...
backgroundjobs.py Loading ...
clipboard.py Loading ...
deepreload.py Loading ...
demo.py Loading ...
display.py Loading ...
editorhooks.py Loading ...
guisupport.py Loading ...
inputhook.py Loading ...
inputhookglut.py Loading ...
inputhookgtk.py Loading ...
inputhookgtk3.py Loading ...
inputhookpyglet.py Loading ...
inputhookqt4.py Loading ...
inputhookwx.py Loading ...
kernel.py Loading ...
latextools.py Loading ...
lexers.py Loading ...
pretty.py Loading ...
security.py Loading ...