|
From: Charles M. <cm...@in...> - 2005-08-08 18:37:01
|
I would consider this a python bug, and I just added a quick fix for me. Changed line 511 in Prompts.py to say if self.Pprint and hasattr(arg, '__repr__'): instead of if self.Pprint: You probably don't want to add this for everything, but would it be possible to override the display method of the CachedOutput when the pylab option is specified? Further, you could only do this for python v.2.4. - Charlie Fernando Perez wrote: > Charles Moad wrote: > >> I found this link, >> http://mail.python.org/pipermail/python-bugs-list/2004-November/026192.html. >> I am guessing Jon and I are using python2.4 and you are using 2.3? > > > That's correct. I have 2.4 lying around, but matplotlib isn't built for > it, nor are any of its dependencies. So I can only do mpl tests with > 2.3, I'm afraid. > > Cheers, > > f |