ipython/ipython — pull request #4870 by y-p (2014-01-25 14:38:21+00:00)
Title: ipython_directive, report except/warn in block and add :okexcept: :okwarning: options to suppress

2nd try on #4866, upstreaming ipython_directive enhancements from pandas.

- Report any error or warning encountered during ipython:: block execution to stdout.
- Tells you (since yesrterday) the location of the block that triggered the error.
- New :okexcept: and :okwarning: options to allow the user to supress such output on per-block basis.

Exceptions raised in ipython blocks are currently not reported and silently end up in
the rendered output. Similarly for Warnings.