[IPython-dev] %magic? broken in py2.5.1c1
Ville M. Vainio
Fri Apr 20 10:55:41 CDT 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 <firstname.lastname@example.org> wrote:
> Doing %magic? in python 2.5.1c1 causes:
> C:\ipython\IPython\OInspect.py in pinfo(self, obj, oname, formatter, info, detai
> 410 defln = self.__getdef(obj,oname)
> 411 if defln:
> --> 412 out.write(header('Definition:\t')+self.format(defln))
> 414 # Docstrings only in detail 0 mode, since source contains them (
> <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