Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:()': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'sat,': 0.15; '"lambda"': 0.16; "'body'": 0.16; 'chris,': 0.16; 'expression.': 0.16; 'lambda': 0.16; 'oct': 0.16; 'later': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'idea': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'extend': 0.26; 'am,': 0.27; 'chris': 0.28; 'issues.': 0.29; 'van': 0.29; 'code': 0.31; 'version': 0.34; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85': 0.35; 'anything': 0.36; 'october': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'limit': 0.65; '20,': 0.65; '10:43': 0.84 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=path:newsgroups:date:in-reply-to:complaints-to:injection-info :nntp-posting-host:references:user-agent:x-google-web-client :x-google-ip:mime-version:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=4MhJDjReWiuAoZKTXPCFbdDJAH6NcoCHY+efwKt8cEE=; b=PSYQYWk0AhilbCgKYYVWL2bhcHSgt/Etsh78uYtMJ1w5lVTA1Lg0BC3ahX9FwTqNMm ZZCtBQ2DNhgTfPr0BoLxvQ5wwn71BKw41+R5Ro4n5GpLz6pp1Uxx61OJPD6eB8yw0iEv TQkK/3B6R2t+3R9RFtRGOLrGztd5vKAvTISKYzaoWjA3Y1KMALPOL7vWeJCkO5xqk0sj GKkxiTsZmM+rim5G/op6nPdchKucKm8Mpgy1mdohwg18GHHlcVjtoGCA+y+MVVUFEv4v 7m6/N/cAneYWb8DUDU1MXX7XnZgGz3DGeiSlJ6vVkHwvDRjfs7o68QFak00oiDcDZFRw cRZw== Newsgroups: comp.lang.python Date: Sat, 20 Oct 2012 03:41:10 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=94.209.206.24; posting-account=gpkyRAoAAABlPh1mY6Zt264UpMjIbxAz References: <2f12fa83-54cc-4fc2-85e4-b8aebebf4242@googlegroups.com> <05702a47-ff6b-4589-8352-d21b1921e77e@googlegroups.com> <2e5df7eb-7781-4c32-a9a7-088be940a4d3@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 94.209.206.24 MIME-Version: 1.0 Subject: Re: use of exec() From: lars van gemerden To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkxc+iTdft+Url42BJgS8SiEaYladAa7BW3Qz9pUoxA3E2pTTvlGvoJmtp0tduC3eaSHBXR Cc: python-list@python.org 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: , Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350729678 news.xs4all.nl 6975 [2001:888:2000:d::a6]:42441 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31807 On Saturday, October 20, 2012 4:00:55 AM UTC+2, Chris Angelico wrote: > On Sat, Oct 20, 2012 at 10:43 AM, lars van gemerden > > 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 Thanks a lot Chris, I will return later to the watchdog/memory limit ideas (no idea how to do that yet).