Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.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.084 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.01; 'expressions': 0.07; 'see.': 0.07; 'oh,': 0.09; 'cc:addr:python-list': 0.11; 'literals.': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '25,': 0.31; 'url:python': 0.33; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'url:library': 0.38; 'pm,': 0.38; 'url:mail': 0.40; 'ian': 0.60; 'name': 0.63; 'mar': 0.68; '2015': 0.84; 'ian,': 0.84; 'joel': 0.91; '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=tdfQR1CnL3+PDElGYSlUhryj1DfpQsu69d7Ws4mxEMg=; b=MRxCZBPrGfkKyGB5S7e+kzwh0gb8tM3c21NuhToBqkwCHGJe+VYFmL32KrbPOCB/C4 51xLkUu43uP1SRab1igs4zrnqj7rBcfzNhIBf0Viko+uId+rj80nYPXDOPjLMr5qkULb uGuFxvdgrnHxkDR6OgYIYT/yrIuN9HMnpTiomnFQx3AdysB4lX8AaWuOGjFVKiGS5ug8 aKZulBH/FwuNC2mRhTpyiXHAzvMcmfo5fkXMbanv6niSc1xqKv+prd1hwWT6QlvvkYCL nFsCJMlruTQYS18k3Cug1Sjm/Gf75giFf3XiVXmL6EtIrHrVZZEjT1ZajpYQNjABPZwB ukxQ== MIME-Version: 1.0 X-Received: by 10.107.47.216 with SMTP id v85mr15421776iov.86.1427308944364; Wed, 25 Mar 2015 11:42:24 -0700 (PDT) In-Reply-To: References: <87bnjhyohp.fsf@uriel.graune.org> <87sict0xuu.fsf@uriel.graune.org> Date: Wed, 25 Mar 2015 14:42:24 -0400 Subject: Re: Supply condition in function call From: Joel Goldstick Cc: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427308946 news.xs4all.nl 2941 [2001:888:2000:d::a6]:52442 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87961 On Wed, Mar 25, 2015 at 2:22 PM, Ian Kelly wrote: > On Wed, Mar 25, 2015 at 12:17 PM, Joel Goldstick > wrote: >> Oh, now I see. Do you know about this: >> https://docs.python.org/2/library/ast.html#ast.literal_eval > > As the name suggests, that only evals literals. It won't work for > complex expressions like "i + j > 4" > -- Thanks Ian, sorry for the misdirection ... > https://mail.python.org/mailman/listinfo/python-list -- Joel Goldstick http://joelgoldstick.com