Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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; 'syntax': 0.04; "subject:' ": 0.07; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; 'expression.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'identifier,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'subject:with': 0.35; 'received:google.com': 0.35; 'error.': 0.37; 'somebody': 0.38; 'pm,': 0.38; 'tell': 0.60; 'first': 0.61; 'mar': 0.68; '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=QhvYHtR6KTrD4L2qJLzVuHpy2fB46hp3do45PuuzBrw=; b=vGTmAj6GdqwVRWO3/flMOgTQerp5SBOhKW6OtyossF5Wr1ntbGy5PXPIHHsjoZS30h M3lrZmmsfFjkpbqNOoHiSMU7GwcguEooMRC1ZYR+PkXDPPZA5lV71GA2Da8lO47Z0Ipw 4oLyiiI/45NQImeTXUpxbvdyEBjG/mXSXKo4SMvJvYDNLzJ6KGsZ/aKlt+vM/HHwfzRq 7i3VWZBGULmVHLFwsJC3Vl1OsXIQxMNrizs/+8Bd6LjXZKZknPq/wIKaeBKYM+rZJ6QG USPrkKrJLuauB7AZsG8eBFzTrn7N/roWP4VY+uHOh6QVI83sxUyDUcMJh2W86fuvsPQd Nm8A== MIME-Version: 1.0 X-Received: by 10.66.129.133 with SMTP id nw5mr29967596pab.98.1395118797056; Mon, 17 Mar 2014 21:59:57 -0700 (PDT) In-Reply-To: <5327d112$0$2923$c3e8da3$76491128@news.astraweb.com> References: <8c862bec-815e-424c-81e2-8f37ebab1c35@googlegroups.com> <5327d112$0$2923$c3e8da3$76491128@news.astraweb.com> Date: Tue, 18 Mar 2014 15:59:56 +1100 Subject: Re: 'complex' function with string argument. 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395118800 news.xs4all.nl 2957 [2001:888:2000:d::a6]:36972 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68480 On Tue, Mar 18, 2014 at 3:52 PM, Steven D'Aprano wrote: > The first is a valid identifier, the second is a syntax error. Oh > somebody please tell me it's not a valid C expression! *wink* It's not a valid C expression. ChrisA