##// END OF EJS Templates
crashhandler: Cast rptdir to Path (#14578)...
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.

File last commit:

r23033:5dd70876
r28963:d7eebae4 merge
Show More
traitlets.py
6 lines | 143 B | text/x-python | PythonLexer
from warnings import warn
warn("IPython.utils.traitlets has moved to a top-level traitlets package.", stacklevel=2)
from traitlets import *