summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2001-12-28 15:48:09 (GMT)
committerMichael W. Hudson <mwh@python.net>2001-12-28 15:48:09 (GMT)
commitd444067ad38a59193a1b88522bd54709292bc011 (patch)
treeace66ea98604faa4128176e54d3d7debf691bc4d /Python/pythonrun.c
parentedd5e17962bfda1f9bb797e37c84859c631231c9 (diff)
downloadcpython-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