Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60377
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.024 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'duplicate': 0.07; 'string': 0.09; 'http': 0.09; 'modulo': 0.09; 'subject:()': 0.09; 'api': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'inclined': 0.16; 'messy': 0.16; 'roy': 0.16; 'sorts': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'mon,': 0.24; 'gets': 0.27; 'header :In-Reply-To:1': 0.27; 'rest': 0.29; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; '25,': 0.31; 'interface': 0.32; 'could': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'nov': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'full': 0.61; "you're": 0.61; 'talking': 0.65; 'beautiful': 0.68; 'smith': 0.68; 'presumably': 0.84; 'subject:skip:o 10': 0.84; 'traffic.': 0.84; '2013': 0.98 |
| 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=uOsIRs0oGQRDrRgRoFbvCzaxibvG96uatB24YR8+u7o=; b=E0/rBG7cLDdrdfDexYh8mXnLL4RuGxFw5yOJqYScmx1cabSiNZ4i0t4gJuyndrYR+2 fZ2Z2CZFzbeCQ110lz/LTzjyB/Qgcu/2jTEkU5hgLfONTAxHIjzH6tTu5M6PSDBfdklh w476cwWCr4ja1dptU8+rZBaLEJCLpsbUZJHT4ZEbN4xCeyQhM5osn1zUkGrYItTkJz41 GnBqdcrkjumLnfvFdZdAgCWNDN+Q5EgU56FHvxuozvQheMH7BSukTS6ed1jYITGyZXX7 XZNkPh3ZPsXrNAEURDg5ypQ4aEbiVctv6511YpbNJ6yVFDmbahh00XtqzmhBTAeBNnpD K8SA== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.142.107 with SMTP id rv11mr22969121pab.17.1385303506330; Sun, 24 Nov 2013 06:31:46 -0800 (PST) |
| In-Reply-To | <roy-4F23EB.09214724112013@news.panix.com> |
| References | <CA+DCN_uqn5OukuZ5QWWjJCUTksaFw50L03ZU7uqdm4a6ZOn7CA@mail.gmail.com> <mailman.3128.1385298299.18130.python-list@python.org> <529202e3$0$29993$c3e8da3$5496439d@news.astraweb.com> <mailman.3131.1385302390.18130.python-list@python.org> <roy-4F23EB.09214724112013@news.panix.com> |
| Date | Mon, 25 Nov 2013 01:31:46 +1100 |
| Subject | Re: Implement logic on object.attribute and object.attribute() |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3135.1385303515.18130.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1385303515 news.xs4all.nl 15942 [2001:888:2000:d::a6]:60720 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60377 |
Show key headers only | View raw
On Mon, Nov 25, 2013 at 1:21 AM, Roy Smith <roy@panix.com> wrote: > If the REST interface is designed properly, all the GETs are > nullipotent, so modulo efficiency, it should all work. Yes, but "modulo efficiency" is not something you want to do when you're talking network traffic. If this were just allocating a bit of memory, then I might be inclined to let it duplicate the work (if the API were sufficiently beautiful to justify it, which IMHO this one isn't), but a full HTTP round trip? And this is presumably all synchronous, as otherwise all sorts of things would get messy (you'd have a string that doesn't have a value yet... could be awkward). ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Implement logic on object.attribute and object.attribute() Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-11-24 05:04 -0800
Re: Implement logic on object.attribute and object.attribute() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-24 13:45 +0000
Re: Implement logic on object.attribute and object.attribute() Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-11-24 06:04 -0800
Re: Implement logic on object.attribute and object.attribute() Chris Angelico <rosuav@gmail.com> - 2013-11-25 01:13 +1100
Re: Implement logic on object.attribute and object.attribute() Roy Smith <roy@panix.com> - 2013-11-24 09:21 -0500
Re: Implement logic on object.attribute and object.attribute() Chris Angelico <rosuav@gmail.com> - 2013-11-25 01:31 +1100
Re: Implement logic on object.attribute and object.attribute() Chris Angelico <rosuav@gmail.com> - 2013-11-25 01:13 +1100
Re: Implement logic on object.attribute and object.attribute() Marc Aymerich <glicerinu@gmail.com> - 2013-11-24 15:16 +0100
Re: Implement logic on object.attribute and object.attribute() Chris Angelico <rosuav@gmail.com> - 2013-11-25 01:37 +1100
Re: Implement logic on object.attribute and object.attribute() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-24 15:11 +0000
Re: Implement logic on object.attribute and object.attribute() Marc Aymerich <glicerinu@gmail.com> - 2013-11-24 15:34 +0100
Re: Implement logic on object.attribute and object.attribute() Marc Aymerich <glicerinu@gmail.com> - 2013-11-24 15:48 +0100
Re: Implement logic on object.attribute and object.attribute() Chris Angelico <rosuav@gmail.com> - 2013-11-25 01:57 +1100
csiph-web