osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proposal: named return values through dict initialization and unpacking


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

>