Message21830
| 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:35 | admin | link | issue998998 messages |
| 2007年08月23日 14:24:35 | admin | create |
|