Suggestion for "syntax error": ++i, --i

Doug Holton insert at spam.here
Tue Dec 14 13:58:47 EST 2004


Petr Prikryl wrote:
> Hi,
> 
> Summary: In my opinion, the C-like prefix
> increment and decrement operators (++i and --i)
> should be marked as "syntax error".

We have a patch for increment and decrement operators in boo ( 
http://boo.codehaus.org/ ), along with an operator overloading syntax 
like below.  See http://jira.codehaus.org/browse/BOO-223

def +:
     pass



More information about the Python-list mailing list