summaryrefslogtreecommitdiff
path: root/Mac/Python/macglue.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-27 16:27:28 +0000
committerGuido van Rossum <guido@python.org>2001-12-27 16:27:28 +0000
commit2a6f5b38acfc0ee59ea265d17b31caaa4de1c266 (patch)
tree628d5c611323fb62da81713be115abbb271fe948 /Mac/Python/macglue.c
parentbb2501f6388544fabca7c2df33d91e8577d74ca5 (diff)
downloadcpython-git-2a6f5b38acfc0ee59ea265d17b31caaa4de1c266.tar.gz
_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 'Mac/Python/macglue.c')
0 files changed, 0 insertions, 0 deletions