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


Groups > comp.lang.python > #31789

Re: use of exec()

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:()': 0.09; 'sat,': 0.15; '"lambda"': 0.16; "'body'": 0.16; 'expression.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'lambda': 0.16; 'oct': 0.16; 'wrote:': 0.17; 'received:209.85.214.174': 0.21; 'header:In-Reply-To:1': 0.25; 'extend': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'issues.': 0.29; 'van': 0.29; 'code': 0.31; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'received:209.85': 0.35; 'anything': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; '20,': 0.65; '10:43': 0.84
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:to :content-type; bh=2DqnQ1LP3+DNPhT+B7t5rXxo1JtSY3cizoU3Bz4A5Hg=; b=qwnLM6G1W1no+BWEypy5C43eBO4gNEve6Ohxou9VWPaxJAxI4a5FCp8PMAMUXWtJ5J MvYuxN57/xaRyhHtVZUjezhqEeBpdd+luM9pLfFPIQoZ+YQ1FUWwaqFW5hBipY5oeNie YXl7/L8FsvUQ9475UBrene1apwFpmptmcxN4CCpNNfRgYSc5kywYMrUk9vbO2vZv6u4+ upbYHqfgV6p1pc0mOX8QnZPU/7cvX+yphvmN40gGvgTAnOqvzCfN2/JCgTdskKqOQNEy LlKzN27lQj63Yz7SvXrSwxM5lA9ICg2n42v5qBgzicnrAUAILmErB7Da7bDftqPHw1QP pU3w==
MIME-Version 1.0
In-Reply-To <f2e6fa02-58ad-4c7f-bc82-6f8eb9330b26@googlegroups.com>
References <2f12fa83-54cc-4fc2-85e4-b8aebebf4242@googlegroups.com> <mailman.2425.1350560975.27098.python-list@python.org> <05702a47-ff6b-4589-8352-d21b1921e77e@googlegroups.com> <mailman.2438.1350570579.27098.python-list@python.org> <2e5df7eb-7781-4c32-a9a7-088be940a4d3@googlegroups.com> <mailman.2446.1350573409.27098.python-list@python.org> <f2e6fa02-58ad-4c7f-bc82-6f8eb9330b26@googlegroups.com>
Date Sat, 20 Oct 2012 13:00:51 +1100
Subject Re: use of exec()
From Chris Angelico <rosuav@gmail.com>
To 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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2547.1350698454.27098.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350698454 news.xs4all.nl 6876 [2001:888:2000:d::a6]:38182
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31789

Show key headers only | View raw


On Sat, Oct 20, 2012 at 10:43 AM, lars van gemerden
<lars@rational-it.com> wrote:
> Do you have any ideas about to what extend the "lambda" version of the code (custom code is only the 'body' of the lambda function) has the same issues?

The lambda version definitely has the same issues. You can do pretty
much anything with a single expression.

ChrisA

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


Thread

use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-18 04:41 -0700
  Re: use of exec() Chris Angelico <rosuav@gmail.com> - 2012-10-18 22:49 +1100
    Re: use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-18 07:07 -0700
      Re: use of exec() Chris Angelico <rosuav@gmail.com> - 2012-10-19 01:29 +1100
        Re: use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-18 08:00 -0700
          Re: use of exec() Chris Angelico <rosuav@gmail.com> - 2012-10-19 02:16 +1100
            Re: use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-19 16:43 -0700
              Re: use of exec() Chris Angelico <rosuav@gmail.com> - 2012-10-20 13:00 +1100
                Re: use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-20 03:41 -0700
                Re: use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-20 03:41 -0700
            Re: use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-19 16:43 -0700
        Re: use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-18 08:00 -0700
    Re: use of exec() lars van gemerden <lars@rational-it.com> - 2012-10-18 07:07 -0700

csiph-web