[IPython-user] 0.8.3 rc1 out, please test installers

Ville M. Vainio vivainio@gmail....
Tue May 27 07:39:18 CDT 2008

On Tue, May 27, 2008 at 1:08 AM, Stéfan van der Walt <stefan@sun.ac.za> wrote:

> Please find patches attached (one with whitespace cleanup, one
> without).  I'd be glad if you could test that it functions as
> advertised.

The patch seemed to be a bit too much work for the task, I changed it
to just strip whitespace before > in regexp:

+++ IPython/Magic.py    2008-05-27 12:13:23 +0000
@@ -3167,7 +3167,7 @@
         sentinel = opts.get('s','--')

         strip_from_start = [re.compile(e) for e in
-                            ['^(.?>)+','^In \[\d+\]:','^\++']]
+                            [r'^\s*(\s?>)+',r'^\s*In \[\d+\]:',r'^\++']]

Try the bzr trunk (done in r119) and tell us if that's ok.

Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'

More information about the IPython-user mailing list