Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'string': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'personally,': 0.16; 'str,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'together.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'related': 0.29; 'message-id:@mail.gmail.com': 0.30; 'though.': 0.31; 'stuff': 0.32; 'fri,': 0.33; "i'd": 0.34; 'agree': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'otherwise.': 0.36; 'pm,': 0.38; 'how': 0.40; 'decided': 0.64; 'subject:! ': 0.74; '2015': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=GNr7OraxpyS5FOEw4g/yyuynmbDX/MNeyeBvS8Ch7A4=; b=SO7CVdDvUMfyWFxIklZKW/kHciD9IzewCT5Ld2bktS5zyDkxreC1Q/7t7N1pagIl2U yoakvOOrL9hHQAGuyY5QOvcpGPlFF1Aqf+ejHUGY4qZ6RFZO1g5oIys/H5ekXuun8a/s jFv0IGc2S1R7hyqSK3ib2+v711Erd61WWUOgJnn/7XjRecdax8vAKoWVudNEZqbMaS+y hMqNDGftbOPVEAA4lMuvINN7PnwooDzqf600UFegpLwNJ09fioMJ929FUVruQBvrallp dCLKpfYtu2T+xN4cnYjxoUQivUJV2YJ7/EoxSNCLLOwRg7vYa1YQdSsy5kE9QyWW9cxI wWdw== MIME-Version: 1.0 X-Received: by 10.140.21.229 with SMTP id 92mr10114597qgl.33.1421991234804; Thu, 22 Jan 2015 21:33:54 -0800 (PST) In-Reply-To: <1b65206c-6a38-4157-8d9a-98512ebf5557@googlegroups.com> References: <54c07d04$0$13012$c3e8da3$5496439d@news.astraweb.com> <12a0f55b-c6d8-4eab-8736-ec9dc46151a6@googlegroups.com> <1b65206c-6a38-4157-8d9a-98512ebf5557@googlegroups.com> Date: Fri, 23 Jan 2015 16:33:54 +1100 Subject: Re: Python is DOOMED! Again! From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1421991237 news.xs4all.nl 2967 [2001:888:2000:d::a6]:36910 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3637 X-Received-Body-CRC: 3721569036 Xref: csiph.com comp.lang.python:84318 On Fri, Jan 23, 2015 at 4:06 PM, Rustom Mody wrote: > As for string and number how is > "1" + "2" == "12" > related to > 1+2 == 3 > ?? They're both adding stuff together. Makes good sense. Personally, I'd like str+int -> str, eg "1"+2 == "12", but Python decided otherwise. We definitely agree on str+str though. ChrisA