Message5854

Author babelmania
Recipients akong, babelmania
Date 2010-06-29.07:27:16
SpamBayes Score 0.034109686
Marked as misclassified No
Message-id <1277796437.16.0.262149247264.issue1622@psf.upfronthosting.co.za>
In-reply-to
Content
Allow me to point out that overriding of __radd__ within my class has the desired behavior on other classes such as PyList

In the example below 'MyJava' is actually an integer array of rank 1 (called Int1d).
It allows, like in any scripting language to do operations like:
   x+1 == 1+x == x+y == y+x == x+z == z+x
where e.g. x=Int1d([1,2]), y=array([1,1],'i'), z=[1,1]


Suddenly blocking this mechanism on only a fraction (PyArray) of your classes alone does not make sense, and I consider that a bug.
History
Date User Action Args
2010-06-29 07:27:17babelmaniasetmessageid: <1277796437.16.0.262149247264.issue1622@psf.upfronthosting.co.za>
2010-06-29 07:27:17babelmaniasetrecipients: + babelmania, akong
2010-06-29 07:27:17babelmanialinkissue1622 messages
2010-06-29 07:27:16babelmaniacreate