diff options
| author | Michael W. Hudson <mwh@python.net> | 2001-12-28 15:48:09 (GMT) |
|---|---|---|
| committer | Michael W. Hudson <mwh@python.net> | 2001-12-28 15:48:09 (GMT) |
| commit | d444067ad38a59193a1b88522bd54709292bc011 (patch) | |
| tree | ace66ea98604faa4128176e54d3d7debf691bc4d /Python/pythonrun.c | |
| parent | edd5e17962bfda1f9bb797e37c84859c631231c9 (diff) | |
| download | cpython-d444067ad38a59193a1b88522bd54709292bc011.zip cpython-d444067ad38a59193a1b88522bd54709292bc011.tar.gz cpython-d444067ad38a59193a1b88522bd54709292bc011.tar.bz2 | |
Backport gvanrossum's checkin of version 1.10:
_reduce(): Avoid infinite recursion in the pickler when self.__class__
doesn't have the _HEAPTYPE flag set, e.g. for time.struct_time and
posix.stat_result.
This fixes the immediate symptoms of SF bug #496873 (cPickle /
time.struct_time loop), replacing the infinite loop with an exception.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
