Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43640
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <musikal.fusion@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.038 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'function,': 0.09; 'cc:addr :python-list': 0.11; '-tkc': 0.16; 'pythonic': 0.16; 'to:addr:python.list': 0.16; 'to:addr:tim.thechases.com': 0.16; 'to:name:tim chase': 0.16; 'unpacked': 0.16; 'result.': 0.19; 'code,': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; 'expanded': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'discovery': 0.31; 'subject:the': 0.34; 'could': 0.34; 'agree': 0.35; 'but': 0.35; 'received:google.com': 0.35; "didn't": 0.36; 'needed': 0.38; 'rather': 0.38; 'bad': 0.39; 'even': 0.60; 'more': 0.64; 'results': 0.69; 'news.': 0.84; '\xa0but': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=mGT2vJ1WIlfaBAJz2CH0KK1qVATcdtzpVYMcbXQ4YrI=; b=gt9aLDvPze57umR7AizJKmqDRZs6/4CxSRvIpwZp2xvAzlxqGCYRqAAQdUuOvUsD3p VrdHboAV2et6vQEGMncovyD9VYnSPbYivp3ugh7fDgxQBSL8KFXZZ0hiqkQItmDEwG0l XsgShehnHx9sH56Jrx9ZxWB0JQ5IryxvyuGqPDV1LRvwlkb6KBP3Dl8qPGC9dQMOnd+n KYZATjq0rmRfPymNKe8xM02r2t4XDBYVfgb3aUiRLmwRr81Y+i8eQnG9l4RBTYRZ/i3L mbf3cPYYEBMIVgcDXt1zg5ybGcj8Rl2TmS0za78dspKe9vmcgVMFgbKj/R86/t0zTLyb 8hzA== |
| X-Received | by 10.182.158.70 with SMTP id ws6mr3445777obb.70.1366053438755; Mon, 15 Apr 2013 12:17:18 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <20130415141042.2b046c3c@bigbox.christie.dr> |
| References | <f51058c3-0e36-429c-85d9-365be82b548f@googlegroups.com> <20130415135013.58430065@bigbox.christie.dr> <CAK3ADtdGH-J0QtHC85gZQX0mF-BKyAmM-neYevZ-YEZtK_hhQw@mail.gmail.com> <20130415141042.2b046c3c@bigbox.christie.dr> |
| From | Barrett Lewis <musikal.fusion@gmail.com> |
| Date | Mon, 15 Apr 2013 12:16:48 -0700 |
| Subject | Re: Process tuple contents on the fly |
| To | Tim Chase <python.list@tim.thechases.com> |
| Content-Type | multipart/alternative; boundary=089e01494a38f668f604da6b19b0 |
| Cc | Python Mailing List <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 <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.644.1366053447.3114.python-list@python.org> (permalink) |
| Lines | 43 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366053447 news.xs4all.nl 2678 [2001:888:2000:d::a6]:37732 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43640 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
> In the particular case I did it in, I needed the incremental results > passed to a function, not just the final result. I don't think this > made it into the final code, rather it was expanded to be more > readable. But the discovery made me feel a disturbance in the > Pythonic force of the universe. :*) > > -tkc > I see what you are saying, but I agree that is a disturbance I didn't even know you could do for key, d[key], that just feels like bad news. however for what you are saying it makes sense. TIL that you can use an unpacked value during unpacking!
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Process tuple contents on the fly Gnarlodious <gnarlodious@gmail.com> - 2013-04-15 11:25 -0700
Re: Process tuple contents on the fly Tim Chase <python.list@tim.thechases.com> - 2013-04-15 13:50 -0500
Re: Process tuple contents on the fly Barrett Lewis <musikal.fusion@gmail.com> - 2013-04-15 12:05 -0700
Re: Process tuple contents on the fly Peter Otten <__peter__@web.de> - 2013-04-15 21:07 +0200
Re: Process tuple contents on the fly Tim Chase <python.list@tim.thechases.com> - 2013-04-15 14:10 -0500
Re: Process tuple contents on the fly Barrett Lewis <musikal.fusion@gmail.com> - 2013-04-15 12:16 -0700
Re: Process tuple contents on the fly MRAB <python@mrabarnett.plus.com> - 2013-04-15 20:29 +0100
Re: Process tuple contents on the fly Tobiah <toby@tobiah.org> - 2013-04-15 13:35 -0700
Re: Process tuple contents on the fly Michael Torrie <torriem@gmail.com> - 2013-04-15 15:16 -0600
Re: Process tuple contents on the fly Gnarlodious <gnarlodious@gmail.com> - 2013-04-15 16:46 -0700
csiph-web