On Tue, Jun 21, 2016 at 9:41 PM Steven D'Aprano wrote:
> On Tue, 21 Jun 2016 05:34 pm, Ari Freund wrote:
> > var3, var1, var2 = **d
>
> But I don't want to use the key names your function uses. I want to
> use names which makes sense for my application
>
Note that
On 26 June 2016 at 18:28, Ari Freund via Python-list
wrote:
> Thanks everybody. There seems to be a lot of resistance to dict unpacking,
> in addition to the problem with my proposed shorthand dict() initialization
> syntax pointed out by Steven D'Aprano, so I won't be
Thanks everybody. There seems to be a lot of resistance to dict unpacking, in
addition to the problem with my proposed shorthand dict() initialization syntax
pointed out by Steven D'Aprano, so I won't be pursuing this.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 21 Jun 2016 05:34 pm, Ari Freund wrote:
> I'd like to run this idea by the community to see if it's PEP worthy and
> hasn't been already rejected.
>
> Background
> Just as keyword arguments enhance code readability and diminish the risk
> of bugs, so too would named
> return values.
I
On Tue, Jun 21, 2016, 10:14 AM Terry Reedy 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?)
On 2016-06-21 18:12, Terry Reedy 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.
Background
Just as keyword arguments enhance code readability and diminish the risk of
bugs, so
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.
Background
Just as keyword arguments enhance code readability and diminish the risk of
bugs, so too would named
return values.
I'd like to run this idea by the community to see if it's PEP worthy and
hasn't been already rejected.
Background
Just as keyword arguments enhance code readability and diminish the risk of
bugs, so too would named
return values. Currently, we can write
val1, val2, val3 = myfunc()
but we must