AssertionError in pickle's memoize function
From: Michael Hohn (hohn_at_hooknose.lbl.gov)
Date: 10/29/04
- Next message: Andrew Dalke: "Re: int/long unification hides bugs"
- Previous message: Steven Bethard: "Re: Interface of the set classes"
- Next in thread: Tim Peters: "Re: AssertionError in pickle's memoize function"
- Reply: Tim Peters: "Re: AssertionError in pickle's memoize function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Oct 2004 17:40:00 GMT
Hi,
under python 2.2, the pickle/unpickle sequence incorrectly restores
a larger data structure I have.
Under Python 2.3, these structures now give an explicit exception from
Pickle.memoize():
assert id(obj) not in self.memo
I'm shrinking the offending data structure down to find the problem
and provide an easily reproducible example,
but maybe someone on the list could tell me under what general
conditions this assertion is expected to fail.
Thanks,
Michael
- Next message: Andrew Dalke: "Re: int/long unification hides bugs"
- Previous message: Steven Bethard: "Re: Interface of the set classes"
- Next in thread: Tim Peters: "Re: AssertionError in pickle's memoize function"
- Reply: Tim Peters: "Re: AssertionError in pickle's memoize function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|