pickle complexity limit?

Simon Burton simonb at webone.com.au
Mon Nov 10 02:12:34 EST 2003


On Mon, 10 Nov 2003 07:29:40 +0100, Martin v. Löwis wrote:


>> What do I do now?   I don't want to recompile with a deeper stack as this
>> will obviously only help in limited cases, not solve the real problem.
> 
> Read the pickle code, understand why it is recursive, and implement an
> alternative that isn't recursive, yet preserves the original semantics
> in terms of pickling order and sequence in which methods are called on
> objects. When you are done, please contribute your changes back, to
> sf.net/projects/python.
> 
> Regards,
> Martin

yow, eek... Well, i had this same problem a few days ago.
Could the docs be at least modified to take a note of this limitation?
I'll stick a post on bugzilla.

BTW, it's likely that i will write a non-recursive pickler, but it won't try
to be compatable.

Simon.





More information about the Python-list mailing list