[Python-Dev] Proposal: dict.with_values(iterable) (original) (raw)
Inada Naoki songofacandy at gmail.com
Tue Apr 23 23:13:43 EDT 2019
- Previous message (by thread): [Python-Dev] Proposal: dict.with_values(iterable)
- Next message (by thread): [Python-Dev] Update PEP 394: Distributions can choose what does python command mean
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.withvalues(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>
- Previous message (by thread): [Python-Dev] Proposal: dict.with_values(iterable)
- Next message (by thread): [Python-Dev] Update PEP 394: Distributions can choose what does python command mean
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]