~fdo.perez/ipython/trunk-dev

Viewing all changes in revision 1313.

  • Committer: Fernando Perez
  • Date: 2010-01-13 04:30:40 UTC
  • Revision ID: fernando.perez@berkeley.edu-20100113043040-axz47rke247d8u6h
Fix exception color problems in win32.
      
In all the recent work to have the test suite play nice with doctest of full
ipython sessions, I inadvertedly started sending exceptions directly to
sys.stderr.  On windows we MUST go via Term.cerr, which uses pyreadline to
handle color escapes, while sys.stderr just shows garbage on screen.

As of this revision, the test suite passes fully on win32 and linux, and
interactive use also seems OK on all fronts.

We're getting closer to RC status...

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: