[IPython-dev] %magic? broken in py2.5.1c1

Ville M. Vainio vivainio at gmail.com
Fri Apr 20 11:55:41 EDT 2007


When I restarted IPython, it worked again. However, there is still an
underlying error somewhere, don't know where yet. It seems like
PyColorize.parser.format2 returned (None,error) for some reason.
format() should check for this instead of feeding it upwards...

On 4/20/07, Ville M. Vainio <vivainio at gmail.com> wrote:
> Doing %magic? in python 2.5.1c1 causes:
>
> C:\ipython\IPython\OInspect.py in pinfo(self, obj, oname, formatter, info, detai
> l_level)
>     410         defln = self.__getdef(obj,oname)
>     411         if defln:
> --> 412             out.write(header('Definition:\t')+self.format(defln))
>     413
>     414         # Docstrings only in detail 0 mode, since source contains them (
> we
>
> <type 'exceptions.TypeError'>: cannot concatenate 'str' and 'NoneType' objects
>
> --
> Ville M. Vainio - vivainio.googlepages.com
> blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
>


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



More information about the IPython-dev mailing list