Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30366
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!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.033 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'importing': 0.04; 'subject:code': 0.07; 'api': 0.09; 'subject:How': 0.09; 'annotations': 0.09; 'restful': 0.09; 'sep': 0.09; 'url:github': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; "i'd": 0.22; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'idea,': 0.29; 'fri,': 0.30; 'code': 0.31; 'file': 0.32; 'comments': 0.33; 'to:addr:python- list': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'text': 0.34; 'done': 0.34; 'needed': 0.35; 'awesome': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'two': 0.37; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'little': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'real': 0.61; 'latest': 0.61; 'love': 0.63; 'more': 0.63; 'alec': 0.84; 'guts': 0.84; 'subject:you': 0.88; 'subject:services': 0.91; 'fun!': 0.95 |
| 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=4yHa693lxMfOKkiXjlHvOXisRqOFmhL+gKsvCBP81+s=; b=j6EV0LIPpgvgJSrRcvUIYmfMHFFVRDmxjuDNXPL6DlXuEL29HUlvTcVLw0NjSSDE9O P1/Vv6xrCfvy5UFTkM6+viOf8DhiZtLKG6pTku3VpdLaQn7tULeijAz5wTPM+QCd84AS YGgM4W0+ulbShwgPn7Uw/DSf8rUvVsHQo94/41VGxliJaJIAN3nmeiWHuyBlXBvxhOuH aP3tRqQNSO5wnETRj1stk11lq0WMXETNYH7z4UihGkN8xBGkiqRkZZwbfFJIOBdIFheP O9WhZwgR9wTSf0EkoHjkoCPmb0JUJk4oMYqjTa30U+rIZshJBgiJfC32guLWmoWkhd8I Nq9A== |
| MIME-Version | 1.0 |
| In-Reply-To | <CAO+9iGcDuQixYeLQus2RKzz-xGp=bui6SM4qMuX3yeqgCe4nAQ@mail.gmail.com> |
| References | <CAO+9iGcDuQixYeLQus2RKzz-xGp=bui6SM4qMuX3yeqgCe4nAQ@mail.gmail.com> |
| Date | Fri, 28 Sep 2012 17:39:08 +1000 |
| Subject | Re: REST code-golf: How concisely can you expose and consume services? |
| 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.1542.1348817951.27098.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1348817951 news.xs4all.nl 6960 [2001:888:2000:d::a6]:43673 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:30366 |
Show key headers only | View raw
On Fri, Sep 28, 2012 at 3:41 PM, Alec Taylor <alec.taylor6@gmail.com> wrote: > web2py (7 lines): https://gist.github.com/3798093 I love the idea, even though I shan't be entering. Code golf is awesome fun! My latest golf game involved importing code comments and text-file annotations into autodoc markup... with two one-liners. And it only needed two because I did it in two parts (wasn't even aware of the text file until I'd done the code comments). Of course, a real RESTful API is likely to have rather more guts in it, but it's cool how little you need of structure! ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: REST code-golf: How concisely can you expose and consume services? Chris Angelico <rosuav@gmail.com> - 2012-09-28 17:39 +1000
csiph-web