[issue4176] segfault with pickle if 4th or 5th item of tuple returned by __reduce__ is not an iterator

Hirokazu Yamamoto report at bugs.python.org
Wed Oct 22 20:25:48 CEST 2008


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

save() and save_reduce() seems to check same thing.
- tuple size
- 2nd item is tuple or not

Is this duplicated or intended? If we adds check for 4th/5th item,
should them be in both functions?

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


More information about the Python-bugs-list mailing list