##// END OF EJS Templates
ENH: Accept one-off exception mode setting for %tb....
ENH: Accept one-off exception mode setting for %tb. This makes it easy to access a more verbose representation that the currently-active exception reporting mode provides. ```python In [1]: %xmode minimal Exception reporting mode: Minimal In [2]: def f(): ...: 3/0 ...: In [3]: f() ZeroDivisionError: division by zero In [4]: %tb verbose --------------------------------------------------------------------------- ZeroDivisionError Traceback (most recent call last) <ipython-input-3-c43e34e6d405> in <module> ----> 1 f() global f = <function f at 0x10e52de18> <ipython-input-2-cd4172d70b5b> in f() 1 def f(): ----> 2 3/0 3 ZeroDivisionError: division by zero In [5]: f() # The default reporting mode has not been changed.... ZeroDivisionError: division by zero ```

File last commit:

r24560:14ba5549
r24850:3f62ea72
Show More
MANIFEST.in
42 lines | 736 B | text/plain | TextLexer
include README.rst
include COPYING.rst
include LICENSE
include setupbase.py
include setupegg.py
include MANIFEST.in
include .mailmap
recursive-exclude tools *
exclude tools
exclude CONTRIBUTING.md
exclude .editorconfig
graft setupext
graft scripts
# Load main dir but exclude things we don't want in the distro
graft IPython
# Documentation
graft docs
exclude docs/\#*
exclude docs/man/*.1.gz
# Examples
graft examples
# docs subdirs we want to skip
prune docs/build
prune docs/gh-pages
prune docs/dist
# Patterns to exclude from any directory
global-exclude *~
global-exclude *.flc
global-exclude *.yml
global-exclude *.pyc
global-exclude *.pyo
global-exclude .dircopy.log
global-exclude .git
global-exclude .ipynb_checkpoints