|
From: John H. <jdh...@ac...> - 2005-08-10 03:51:00
|
>>>>> "Charles" == Charles Moad <cm...@in...> writes:
Charles> I would consider this a python bug, and I just added a
Charles> quick fix for me. Changed line 511 in Prompts.py to say
Charles> if self.Pprint and hasattr(arg, '__repr__'): instead of
Charles> if self.Pprint:
Charles> You probably don't want to add this for everything, but
Charles> would it be possible to override the display method of
Charles> the CachedOutput when the pylab option is specified?
Charles> Further, you could only do this for python v.2.4.
I'll see if I can add repr to all the pycxx mpl classes. Perhaps this
is the cause of the issubclass segfault as well, which would be a
great bonus.
JDH
|