Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.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.041 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; "subject:' ": 0.07; 'subject:string': 0.09; 'expected,': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'wed,': 0.18; 'skip': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'with,': 0.31; 'probably': 0.32; 'problem': 0.35; 'subject:with': 0.35; 'received:google.com': 0.35; 'useful': 0.36; 'turn': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'ian': 0.60; 'mar': 0.68 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Nl4crxMg0kPlz8Dr58j9ixH/QIkg17nhYn7f/zg1ROo=; b=m5tT3eiRMGxRatqEM5KYmJqz15ivI0wtfDGGio2IAeq9jxa4QECSkHEBZMEIaBw4Ne Ak3VdrlXyiJbE6fS6wJG4fZEBPGJ38/9GZ2d5TaAldLd0P41NIJUHmFIiWqyxQMuQcxu SY7kYl35IMV59K4+xsv5Q2axGNExv+/rR2G3A4s2NKMfIPPPDa/qzm+HRAGa7WY+tOy8 5La2ftMqyJrPFTV8voEAe7dYLtXYMNzGf5CY8CP01wzE57TQHn6YPEW6Z1iUbQHrxCoz nY1EwZ1ZikBSq8zLkKvpc9R2FGrEm8aV82yLz8Flx3bRAMPEzhuJaQXmY6vk/y2zaRPV jEJQ== X-Received: by 10.67.13.134 with SMTP id ey6mr42224019pad.44.1395254746916; Wed, 19 Mar 2014 11:45:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <8c862bec-815e-424c-81e2-8f37ebab1c35@googlegroups.com> <5327d112$0$2923$c3e8da3$76491128@news.astraweb.com> <11b58171-a99b-4ddf-8e6c-7b4f3169c60c@googlegroups.com> <87lhw6po53.fsf@elektro.pacujo.net> <87bnx233gd.fsf@elektro.pacujo.net> From: Ian Kelly Date: Wed, 19 Mar 2014 12:45:06 -0600 Subject: Re: 'complex' function with string argument. To: Python Content-Type: text/plain; charset=ISO-8859-1 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395254750 news.xs4all.nl 2829 [2001:888:2000:d::a6]:59279 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68560 On Wed, Mar 19, 2014 at 5:04 AM, Skip Montanaro wrote: > On Wed, Mar 19, 2014 at 5:33 AM, Ian Kelly wrote: >> When is it ever useful though? > > About as often as int(0), float(0), or float(0.0) which all work as > expected, though probably don't turn up in a lot of code. The analogous call to those is complex(1+2j), which I have no problem with, not complex(1+2j, 3+4j).