Message31703
| Author |
zseil |
| Recipients |
| Date |
2007年04月05日.01:47:15 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Here is a patch (with tests) that should fix this.
There was another problem when the slot wrapper
came from a different type:
>>> class MyInt(int):
... __mul__ = float.__add__
...
>>> MyInt(3) * 3
9
This now raises a TypeError.
File Added: mixing_slots.diff |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:52:56 | admin | link | issue1694663 messages |
| 2007年08月23日 14:52:56 | admin | create |
|