Re: strange error whilst porting to 2.6

2009-01-26 Thread Robin Becker
Robin Becker wrote: I found that this error Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in ignored occurs when attempting to copy (copy.copy(inst)) an instance of a class that looks like this class LazyParagraph(_LazyMixin,TTParagraph): SUPER=TTPar

Re: strange error whilst porting to 2.6

2009-01-26 Thread Robin Becker
I found that this error Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in ignored occurs when attempting to copy (copy.copy(inst)) an instance of a class that looks like this class LazyParagraph(_LazyMixin,TTParagraph): SUPER=TTParagraph _CL

Re: strange error whilst porting to 2.6

2009-01-24 Thread Robin Becker
Steve Holden wrote: Benjamin Peterson wrote: Robin Becker NOSPAMreportlab.com> writes: Well that's not really acceptable as a solution is it? :) This doesn't happen in Python 3.0, so you could port to that. :) my initial attempts in this direction were even less successful :( Pe

Re: strange error whilst porting to 2.6

2009-01-24 Thread Steve Holden
Benjamin Peterson wrote: > Robin Becker NOSPAMreportlab.com> writes: >> Well that's not really acceptable as a solution is it? :) > > This doesn't happen in Python 3.0, > so you could port to that. :) > > In 2.7, the better recursion depth > handling > in Py3k may be backported,but the > best yo

Re: strange error whilst porting to 2.6

2009-01-23 Thread Benjamin Peterson
Robin Becker NOSPAMreportlab.com> writes: > > > Well that's not really acceptable as a solution is it? :) This doesn't happen in Python 3.0, so you could port to that. :) In 2.7, the better recursion depth handling in Py3k may be backported,but the best you can do for now is not touch the recur

Re: strange error whilst porting to 2.6

2009-01-23 Thread Robin Becker
Benjamin Peterson wrote: Robin Becker NOSPAMreportlab.com> writes: python 2.6 indicates this error whilst running a script that works fine under Python 2.5. Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in ignored I suppose this must be related to some k

Re: strange error whilst porting to 2.6

2009-01-23 Thread Benjamin Peterson
Robin Becker NOSPAMreportlab.com> writes: > > python 2.6 indicates this error whilst running a script that works fine > under Python 2.5. > > Exception RuntimeError: 'maximum recursion depth exceeded in > __subclasscheck__' in ignored > > I suppose this must be related to some kind of isins

strange error whilst porting to 2.6

2009-01-23 Thread Robin Becker
python 2.6 indicates this error whilst running a script that works fine under Python 2.5. Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in ignored I suppose this must be related to some kind of isinstance or issubclass check, but how can I locate the prob