Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'say,': 0.05; 'exception.': 0.09; 'subject:()': 0.09; 'subject:question': 0.10; 'cc:addr :python-list': 0.11; 'def': 0.12; 'jan': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; '[1]': 0.29; 'am,': 0.29; 'raise': 0.29; 'message- id:@mail.gmail.com': 0.30; 'received:google.com': 0.35; '20,': 0.68; 'ethan': 0.84; 'furman': 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=NK7l89nfkN3S6+u1HQRWNNMK5YmNY52EqtIPprRRDBk=; b=vH2ALDra8YY8DeZYQqoL4oHdlmjnaJ4dOCAzWQePuZJPBA3q+7SJ01D0u8j8Kd/mp3 GYMgiXaYIxHVS4yJJUuW/GS8uDsbblpYM7zm9CWjBfAvnRswyVgruN5K0HIGXrhWhDbb t9QO1//gY6cfqPRJQyHAL3LAX8Sg0o7HVxo1Lsa3O/qbvru1T+wX7YJ3c+if6gwAHBK6 mQJfbFWHE/RiIwNNO3T+K8uePyD2orkXLmxrFPrK9VlK78/+0o5xYf8WBWkuvqxoVvab kocdEHzD6iC5afu4B8rmOT9S0dhJgnuJi+eRuv3VarhM1rT0Diw69v2fZVwQ2JMESsO/ +QEw== MIME-Version: 1.0 X-Received: by 10.68.162.66 with SMTP id xy2mr14021157pbb.46.1390149509361; Sun, 19 Jan 2014 08:38:29 -0800 (PST) In-Reply-To: <52DBF9DE.80304@stoneleaf.us> References: <2b7f1a5d-4145-4f7d-be47-72d5eb207391@googlegroups.com> <07dc8493-fb43-47b4-b080-7bc1ae3d6681@googlegroups.com> <52663f72-8c61-4868-9887-7e980d90ec61@googlegroups.com> <52DBF9DE.80304@stoneleaf.us> Date: Mon, 20 Jan 2014 03:38:29 +1100 Subject: Re: question about input() and/or raw_input() 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390149518 news.xs4all.nl 2921 [2001:888:2000:d::a6]:54139 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64299 On Mon, Jan 20, 2014 at 3:14 AM, Ethan Furman wrote: >>> --> def quux1(x): return str(x+1) >> --> quux1(2.3) >> '3.3' > > (Will be) fixed in 3.5 [1] :) > [1] Which is to say, both will raise an exception. Why would that raise? ChrisA