Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68560

Re: 'complex' function with string argument.

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 <ian.g.kelly@gmail.com>
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 <CANc-5UxL+LdNja+mCan-fUYLAZw1DNhMmpY240o-FW5Ax-Nb3A@mail.gmail.com>
References <8c862bec-815e-424c-81e2-8f37ebab1c35@googlegroups.com> <lg779d$5f4$2@speranza.aioe.org> <5327d112$0$2923$c3e8da3$76491128@news.astraweb.com> <lg9rdm$us9$1@speranza.aioe.org> <11b58171-a99b-4ddf-8e6c-7b4f3169c60c@googlegroups.com> <87lhw6po53.fsf@elektro.pacujo.net> <d1f09443-f5d4-4ed6-880f-bc15810a1fdd@googlegroups.com> <87bnx233gd.fsf@elektro.pacujo.net> <CALwzidmy6qnSXTfTitNJ2mw4ij87L4UeGJ+Xu4FyOc_GzC3F5g@mail.gmail.com> <CANc-5UxL+LdNja+mCan-fUYLAZw1DNhMmpY240o-FW5Ax-Nb3A@mail.gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Wed, 19 Mar 2014 12:45:06 -0600
Subject Re: 'complex' function with string argument.
To Python <python-list@python.org>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8284.1395254749.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Wed, Mar 19, 2014 at 5:04 AM, Skip Montanaro <skip@pobox.com> wrote:
> On Wed, Mar 19, 2014 at 5:33 AM, Ian Kelly <ian.g.kelly@gmail.com> 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).

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

'complex' function with string argument. Jayanth Koushik <jnkoushik@gmail.com> - 2014-03-15 09:26 -0700
  Re: 'complex' function with string argument. Mark H Harris <harrismh777@gmail.com> - 2014-03-17 11:18 -0500
    Re: 'complex' function with string argument. Chris Angelico <rosuav@gmail.com> - 2014-03-18 04:03 +1100
      Re: 'complex' function with string argument. Marko Rauhamaa <marko@pacujo.net> - 2014-03-17 20:15 +0200
        Re: 'complex' function with string argument. Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-17 12:28 -0600
        Re: 'complex' function with string argument. Chris Angelico <rosuav@gmail.com> - 2014-03-18 05:59 +1100
          Re: 'complex' function with string argument. Marko Rauhamaa <marko@pacujo.net> - 2014-03-17 21:22 +0200
            Re: 'complex' function with string argument. Chris Angelico <rosuav@gmail.com> - 2014-03-18 06:32 +1100
            Re: 'complex' function with string argument. Steven D'Aprano <steve@pearwood.info> - 2014-03-18 04:08 +0000
      Re: 'complex' function with string argument. Mark H Harris <harrismh777@gmail.com> - 2014-03-17 13:20 -0500
    Re: 'complex' function with string argument. Steven D'Aprano <steve@pearwood.info> - 2014-03-18 04:52 +0000
      Re: 'complex' function with string argument. Chris Angelico <rosuav@gmail.com> - 2014-03-18 15:59 +1100
      Re: 'complex' function with string argument. Mark H Harris <harrismh777@gmail.com> - 2014-03-18 11:14 -0500
        Re: 'complex' function with string argument. wxjmfauth@gmail.com - 2014-03-19 00:30 -0700
          Re: 'complex' function with string argument. Marko Rauhamaa <marko@pacujo.net> - 2014-03-19 10:51 +0200
            Re: 'complex' function with string argument. wxjmfauth@gmail.com - 2014-03-19 02:52 -0700
              Re: 'complex' function with string argument. Marko Rauhamaa <marko@pacujo.net> - 2014-03-19 12:09 +0200
                Re: 'complex' function with string argument. Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-19 04:33 -0600
                Re: 'complex' function with string argument. Marko Rauhamaa <marko@pacujo.net> - 2014-03-19 12:53 +0200
                Re: 'complex' function with string argument. Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-19 13:35 -0600
                Re: 'complex' function with string argument. Skip Montanaro <skip@pobox.com> - 2014-03-19 06:04 -0500
                Re: 'complex' function with string argument. wxjmfauth@gmail.com - 2014-03-19 07:35 -0700
                Re: 'complex' function with string argument. Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-19 12:45 -0600
  Re: 'complex' function with string argument. Mark Dickinson <mdickinson@enthought.com> - 2014-03-17 17:55 +0000
  Re: 'complex' function with string argument. Terry Reedy <tjreedy@udel.edu> - 2014-03-17 18:06 -0400
  Re: 'complex' function with string argument. Skip Montanaro <skip@pobox.com> - 2014-03-17 18:59 -0500
  Re: 'complex' function with string argument. Chris Angelico <rosuav@gmail.com> - 2014-03-18 11:16 +1100
  Re: 'complex' function with string argument. Skip Montanaro <skip@pobox.com> - 2014-03-17 20:07 -0500
  Re: 'complex' function with string argument. Christian Gollwitzer <auriocus@gmx.de> - 2014-03-18 08:04 +0100
    Re: 'complex' function with string argument. Chris Angelico <rosuav@gmail.com> - 2014-03-18 18:11 +1100
    Re: 'complex' function with string argument. Steven D'Aprano <steve@pearwood.info> - 2014-03-18 08:00 +0000
      Re: 'complex' function with string argument. Christian Gollwitzer <auriocus@gmx.de> - 2014-03-18 09:21 +0100
        Re: 'complex' function with string argument. Marko Rauhamaa <marko@pacujo.net> - 2014-03-18 16:00 +0200

csiph-web