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