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


Groups > comp.lang.python > #35168

Re: context aware execution

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <torriem@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.020
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'json': 0.07; 'api': 0.09; 'windows,': 0.09; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'wrote:': 0.17; 'define': 0.20; 'sort': 0.21; 'lets': 0.22; 'external': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'environment.': 0.27; 'environment': 0.29; 'probably': 0.29; 'figure': 0.30; 'to:addr :python-list': 0.33; 'received:org': 0.36; 'message- id:@gmail.com': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'discover': 0.72
X-Virus-Scanned amavisd-new at torriefamily.org
Date Wed, 19 Dec 2012 17:27:44 -0700
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20121115 Thunderbird/10.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: context aware execution
References <CADPXuAgW5uMRhNomqbLmnXKMuhxb6WzSnFsEjJCp-MX1WZK9pw@mail.gmail.com> <CAPTjJmrddAk3BL2gKxd3PeSj3dmSDEGONszMkMJzuh_FyoFBZw@mail.gmail.com> <CADPXuAgcPMVB+NBu7g0GvaXL4tRyrLeZxB9uXO8cAR8VDcr4mg@mail.gmail.com>
In-Reply-To <CADPXuAgcPMVB+NBu7g0GvaXL4tRyrLeZxB9uXO8cAR8VDcr4mg@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
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.1080.1355963276.29569.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1355963276 news.xs4all.nl 6984 [2001:888:2000:d::a6]:57366
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35168

Show key headers only | View raw


On 12/19/2012 09:51 AM, Bart Thate wrote:
> Think of sending JSON over the wire, reconstruct an object with it and then
> let the object figure out what it can and cannot do in this external
> environment.

Probably the better way to do it is to formally define an API that lets
an object discover things about its environment and then broker calls
through it.  This is sort of what COM does on windows, or Corba.

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


Thread

Re: context aware execution Michael Torrie <torriem@gmail.com> - 2012-12-19 17:27 -0700

csiph-web