On Sun, Nov 13, 2005 at 09:44:43PM +0000, Bengt Richter wrote:
> even if expr1 had a __unaryop__ method,
>     expr1 - expr2
> could not become
>     expr1.__unaryop__(-expr2)
> unless you forced the issue with
>     expr1 (-expr2)

as opposed to being a function call?  I don't think you've solved the ambiguity 
problem yet.

Jeff

Attachment: pgpywgKNiDRtk.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to