Message54800
| Author |
michaeltsai |
| Recipients |
| Date |
2006年05月08日.12:07:47 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=817528
Well, the example you wrote doesn't capture the pattern I was thinking of. I'm
thinking of cases like:
d = {}
#...
x = d.setDefault(x, x)
where I want to get the canonical x. This might be x itself, or it might be
another object that's ==. I doubt you've seen set code that does this with
sets, because I don't think it's possible with the existing set API to do this
efficiently. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 16:11:52 | admin | link | issue1483384 messages |
| 2007年08月23日 16:11:52 | admin | create |
|