[issue3119] pickle.py is limited by python's call stack

Aaron Gallagher report at bugs.python.org
Wed Jul 2 22:43:53 CEST 2008


Aaron Gallagher <habnabit at gmail.com> added the comment:

Ah, I didn't know that a list would be as fast for appending and popping. 
I knew that lists were optimized for .append() and .pop(), but I didn't 
know that a list would be just as fast as a deque if it was just used as a 
stack.

And I'll be happy to write unit tests if it can be pointed out to me how 
exactly they can be written. Should it just test to make sure pickling a 
deeply nested object hierarchy can be pickled without raising a 
RuntimeError? I tried to make this as transparent as possible of a change.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3119>
_______________________________________


More information about the Python-bugs-list mailing list