Proposal: named return values through dict initialization and unpacking

Michael Selik michael.selik at gmail.com
Tue Jun 21 14:08:58 EDT 2016


On Tue, Jun 21, 2016, 10:14 AM Terry Reedy <tjreedy at 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

>



More information about the Python-list mailing list