[Python-Dev] Proposal: dict.with_values(iterable)

Inada Naoki songofacandy at gmail.com
Tue Apr 23 23:13:43 EDT 2019


On Wed, Apr 24, 2019 at 6:17 AM Mark Shannon <mark at hotpy.org> wrote:
>
> Hi,
>
> On 12/04/2019 2:44 pm, Inada Naoki wrote:
> > Hi, all.
> >
> > I propose adding new method: dict.with_values(iterable)
>
> You can already do something like this, if memory saving is the main
> concern. This should work on all versions from 3.3.
>

Of course, performance is main concern too.

-- 
Inada Naoki  <songofacandy at gmail.com>


More information about the Python-Dev mailing list