<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=gb2312 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783">
<STYLE></STYLE>
</HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 bgColor=#ffffff 
name="Compose message area" CanvasTabStop="true">
<DIV><FONT size=2 face=Arial>I don't think this is quite true.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; ++var&nbsp; and 
--var</FONT></DIV>
<DIV><FONT size=2 face=Arial>are legal albeit redundant expressions that equal 
var</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; var++ and var--</FONT></DIV>
<DIV><FONT size=2 face=Arial>cause a SyntaxError, as they should.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Rob</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=weebinn@gmail.com href="mailto:weebinn@gmail.com">Wee Binn</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=python-dev@python.org 
  href="mailto:python-dev@python.org">python-dev@python.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, September 23, 2009 4:47 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Python-Dev] surprised to "++" 
  and "--"</DIV>
  <DIV><BR></DIV>
  <DIV><FONT size=2 face=ËÎÌå>Hi,</FONT></DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;<FONT size=2 face=ËÎÌå>I know that there is no "++" 
  or "--" operator in python, but if "var++" or something like that in my 
  code(you know, most of C/C++ coders may like this),there is nothing wrong 
  reported and program goes on just like expected!! </FONT></DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;This is obscure, maybe a bug.</DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Python-Dev mailing 
  list<BR><A 
  href="mailto:Python-Dev@python.org">Python-Dev@python.org</A><BR>http://mail.python.org/mailman/listinfo/python-dev<BR>Unsubscribe: 
  http://mail.python.org/mailman/options/python-dev/rob.cliffe%40btinternet.com<BR></BLOCKQUOTE></BODY></HTML>