Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'syntax': 0.03; 'subject:Python': 0.05; '"if': 0.09; 'operator,': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; '"while': 0.16; '5",': 0.16; 'confusion': 0.16; 'module': 0.19; 'doc': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'comparison': 0.29; 'case,': 0.29; 'framework': 0.30; 'point': 0.31; 'another': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'should': 0.36; 'possible': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'nothing': 0.38; 'sure': 0.38; 'more': 0.63; 'obvious': 0.71; '99.9%': 0.84; 'regret': 0.91 Newsgroups: comp.lang.python Date: Fri, 21 Dec 2012 08:16:28 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.49.124.107; posting-account=cEyVOAoAAAAQ26Zg5AgQClqyybEKp-yz References: <9122ba06-bc02-42a3-84a6-568c3fab4598@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 193.49.124.107 MIME-Version: 1.0 Subject: Re: Brython - Python in the browser From: Pierre Quentel To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356106597 news.xs4all.nl 6966 [2001:888:2000:d::a6]:53470 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35304 > <=3D is a comparison expression operator, which is completely different.= =20 > It is just wrong for this usage. I am 99.9% sure you will come to regret= =20 > it eventually. Better to make the change now than in Brython2 or Brython3= . I am 99.99% sure of the contrary, having used this syntax for more than 3 y= ears now, as the users of the Karrigell framework with the HTMLTags module Another point why there is no possible confusion is that when <=3D is a com= parison operator, it is never used in an standalone expression like "a <=3D= b", with the left term of the comparison starting the line ; it is always = used in an expression like "if x <=3D 10", "while x <=3D 5", "assert x <=3D= 0", "return foo <=3D bar" etc. So when you see a line like doc <=3D DIV('hello') it should be obvious that you are not *comparing* doc and DIV('hello'), bec= ause if it was the case, the line would do nothing