Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!hd10g2000vbb.googlegroups.com!not-for-mail From: Anirudh Sivaraman Newsgroups: comp.lang.python Subject: Comparison operators in Python Date: Wed, 1 Jun 2011 11:50:39 -0700 (PDT) Organization: http://groups.google.com Lines: 8 Message-ID: <0dda7cc8-e1c0-409d-b993-b8aec379f7bd@hd10g2000vbb.googlegroups.com> NNTP-Posting-Host: 128.30.87.41 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1306954239 29335 127.0.0.1 (1 Jun 2011 18:50:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 1 Jun 2011 18:50:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: hd10g2000vbb.googlegroups.com; posting-host=128.30.87.41; posting-account=mTSrnAoAAACbFd_6cjGq8yK8xxEDB4q5 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.10 (maverick) Firefox/3.6.17,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6817 Hi I am a relative new comer to Python. I see that typing is strongly enforced in the sense you can't concatenate or add a string and an integer. However comparison between a string and an integer seems to be permitted. Is there any rationale behind this ? Anirudh