[issue17720] pickle.py's load_appends should call append() on objects other than lists
Serhiy Storchaka
report at bugs.python.org
Sat Apr 13 21:07:10 CEST 2013
Serhiy Storchaka added the comment:
Yes, test is needed. Current tests don't cover this case.
I suggest to move obj.append out of the tight loop, as in C implementation.
append = obj.append
for item in items:
append(item)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17720>
_______________________________________
More information about the Python-bugs-list
mailing list