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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'context': 0.07; 'dynamically': 0.07; 'cc:addr:python-list': 0.11; '24,': 0.16; 'callable': 0.16; 'callable,': 0.16; 'called,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'process?': 0.16; 'subject:Pypy': 0.16; 'wrote:': 0.18; 'passing': 0.19; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'exists': 0.24; 'paul': 0.24; 'cc:2**0': 0.24; 'possibly': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'another': 0.32; 'actual': 0.34; 'received:google.com': 0.35; 'subject:?': 0.36; 'does': 0.39; 'sure': 0.39; '2015': 0.84; 'mean.': 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=5AFtO1GS50BnaIpRiXHqbddX65XteACcu7wm4scT6e4=; b=mQwWFCXURVLoEd603HJMLjyFE6akjR3FIbEZHcnl7gUrmy9I4Egva6CahDh9DaUV7m 56WT49T7i+Z5ihxa30ycTfwh+EKktp/bhqFMDcBoJNV9QcRj1akB7XGFfqJMG8OcvXKm tFwI1k3uAp3nTumF/pJGn2pjx21Vkcgq1Nms3e99k1mD4OePrTXidhfiHjf+ACQJgU/R 2DE4YeXdpWgRi9xugpoAhRYCiQBXkOgnOjbgrrDA5CFXDGdMCC8mmwaKmwkwHEEMFKHY XME9xpMnDgOK0HefVbB2/8Quf/EX0waa7KNjTsikbFyq+OQdu07u2serogsihdINlIak eSrg== MIME-Version: 1.0 X-Received: by 10.107.128.219 with SMTP id k88mr17145997ioi.27.1424737903039; Mon, 23 Feb 2015 16:31:43 -0800 (PST) In-Reply-To: <87bnkkb22u.fsf@jester.gateway.pace.com> References: <87fv9xdb22.fsf@jester.gateway.pace.com> <54ea7ff4$0$12983$c3e8da3$5496439d@news.astraweb.com> <87zj85bcyu.fsf@jester.gateway.pace.com> <87lhjpb89i.fsf@jester.gateway.pace.com> <87h9udb1eq.fsf@jester.gateway.pace.com> <87bnkkb22u.fsf@jester.gateway.pace.com> Date: Tue, 24 Feb 2015 11:31:42 +1100 Subject: Re: Future of Pypy? 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424737905 news.xs4all.nl 2896 [2001:888:2000:d::a6]:44143 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86280 On Tue, Feb 24, 2015 at 11:11 AM, Paul Rubin wrote: > What if you want to dynamically construct a callable and send it to > another process? I'm not sure what that would actually mean. Do you try to construct it out of code that already exists in the other process? Are you passing actual code to the other process? Does the callable, when called, actually execute in the calling process? And what about its context - its globals, and possibly nonlocals (if it's a closure)? ChrisA