Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ipython#1716 from takluyver/verbose-tb
Fix for fake filenames in verbose traceback. We use in our frames fake filenames of the type `<ipython....>`, and we relied on `abspath` throwing an `OSError` exception with them. That is no longer the case, and it leads to verbose tracebacks not inspecting IPython frames correctly. This fixes the issue by simply assuming that any file that starts/ends with `</>` can't be a normal python file, which is a sensible policy (for one thing, such names can't be imported).
- Loading branch information