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


Groups > comp.lang.python > #110257

Re: Proposal: named return values through dict initialization and unpacking

From Michael Selik <michael.selik@gmail.com>
Newsgroups comp.lang.python
Subject Re: Proposal: named return values through dict initialization and unpacking
Date 2016-06-21 18:08 +0000
Message-ID <mailman.14.1466532557.11516.python-list@python.org> (permalink)
References <CALyUfwV9jO0xjSz_Qhk3ox=rJCcAsBE+iU2WzcmXtCEwZS+xEQ@mail.gmail.com> <nkbsi2$tid$1@ger.gmane.org> <CAGgTfkN3sCgSYu=26U0UHZ1ujAgxe_fi2DBXNQO_chHUNjtQOw@mail.gmail.com>

Show all headers | View raw


On Tue, Jun 21, 2016, 10:14 AM Terry Reedy <tjreedy@udel.edu> wrote:

> On 6/21/2016 3:34 AM, Ari Freund via Python-list wrote:
> > I'd like to run this idea by the community to see if it's PEP worthy and
> > hasn't been already rejected.
> >
> There was a recent (last couple of months?) discussion on python-ideas
> about dictionary unpacking.  It does not seem too practical.  But maybe
> you can find the thread
>

There were a few related threads. I wrote a module to handle what I thought
was the most important use case.

https://github.com/selik/destructure

>

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


Thread

Re: Proposal: named return values through dict initialization and unpacking Michael Selik <michael.selik@gmail.com> - 2016-06-21 18:08 +0000

csiph-web