Message2805

Author pjenvey
Recipients
Date 2007-08-31.01:32:44
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
There's a problem with this change, returning null instead of throwing TypeErrors in the binop methods breaks calling them directly from python, which is expected to work from some tests:

>>> 'abc'.__mul__('') 
NotImplemented

_binop_rule may need to be changed to catch TypeErrors (maybe any python exception) and handle it as if NotImplemented was returned, instead
History
Date User Action Args
2008-02-20 17:18:46adminlinkissue1775078 messages
2008-02-20 17:18:46admincreate