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 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:56adminlinkissue1694663 messages
2007年08月23日 14:52:56admincreate

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