On Mon, Nov 10, 2008 at 4:36 PM, George Sakkis <[EMAIL PROTECTED]>wrote:
> On Nov 10, 2:23 pm, mark starnes <[EMAIL PROTECTED]> wrote: > > > Hi everyone, this is my first post to this group, so please be gentle. > > > > I've written a class which, when I attempt to pickle, gives the error: > > > > *** RuntimeError: maximum recursion depth exceeded > > > > Is there a way to make pickle display data about what it's trying > > to do? I'm thinking that if so, the recursive component will be > > immediately visible, easing the bug hunt. > > > Your class doesn't happen to include BeautifulSoup objects, does it? Or: " Trying to pickle a highly recursive data structure may exceed the maximum recursion depth, a RuntimeError will be raised in this case. You can carefully raise this limit with sys.setrecursionlimit()." >From http://docs.python.org/library/pickle.html
-- http://mail.python.org/mailman/listinfo/python-list