Summary: In my opinion, the C-like prefix increment and decrement operators (++i and --i) should be marked as "syntax error".
This would give some weird assymetry:
>>> i = 1 >>> ++i Traceback ( File "<interactive input>", line 1 ++i ^ SyntaxError: invalid syntax >>> --i Traceback ( File "<interactive input>", line 1 --i ^ SyntaxError: invalid syntax >>> +-i -1 >>> -+i -1 >>>
Of course, anyone who writes +-i or -+i should probably be shot anyway. ;) I'm -0 on this.
Steve -- http://mail.python.org/mailman/listinfo/python-list