homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author grubert
Recipients
Date 2005年05月19日.11:00:03
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=147070
it does memoize recursively, 
but "asserts" not to get stuck in cycles.
that's how i understand the code if ::
 assert id(obj) not in self.memo
is replaced by ::
 if id(obj) in self.memo:
 return
it works (better). and test_pickle.py still passes.
History
Date User Action Args
2007年08月23日 14:24:35adminlinkissue998998 messages
2007年08月23日 14:24:35admincreate

AltStyle によって変換されたページ (->オリジナル) /