[Python-bugs-list] [ python-Bugs-501830 ] cPickle cannot pickle time.localtime tup
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 10 Jan 2002 07:54:18 -0800
Bugs item #501830, was opened at 2002-01-10 06:48
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=501830&group_id=5470
Category: Extension Modules
Group: Python 2.2
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: James Weatherall (sleeper)
Assigned to: Nobody/Anonymous (nobody)
Summary: cPickle cannot pickle time.localtime tup
Initial Comment:
time.localtime tuples seem to cause cPickle to enter a
recursive loop, producing about 80K of cyclical pickle
output before causing the interpreter to dump core.
Enclosing calls to time.localtime within tuple() calls
fixes the problem.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-01-10 07:53
Message:
Logged In: YES
user_id=6380
Dup of bug #496873. Semi-fixed in CVS (it now raises a
traceback).
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=501830&group_id=5470