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 | ncoghlan |
|---|---|
| Recipients | ncoghlan |
| Date | 2008年04月08日.16:17:42 |
| SpamBayes Score | 0.03993758 |
| Marked as misclassified | No |
| Message-id | <1207671463.8.0.448450429291.issue2592@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
From the discussion of issue 643841: >>> class Demo: ... def __index__(self): ... return 1 ... >>> a = Demo() >>> b = weakref.proxy(a) >>> operator.index(a) 1 >>> operator.index(b) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'weakproxy' object cannot be interpreted as an index The weakref proxy types need to be updated to delegate 2.5's new tp_index slot. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年04月08日 16:17:44 | ncoghlan | set | spambayes_score: 0.0399376 -> 0.03993758 recipients: + ncoghlan |
| 2008年04月08日 16:17:43 | ncoghlan | set | spambayes_score: 0.0399376 -> 0.0399376 messageid: <1207671463.8.0.448450429291.issue2592@psf.upfronthosting.co.za> |
| 2008年04月08日 16:17:43 | ncoghlan | link | issue2592 messages |
| 2008年04月08日 16:17:43 | ncoghlan | create | |