[Python-ideas] Unpacking a dict
Nikolaus Rath
Nikolaus at rath.org
Sun May 29 16:05:43 EDT 2016
On May 29 2016, Guido van Rossum <guido-+ZN9ApsXKcEdnm+yROfE0A at public.gmane.org> wrote:
> Any idea using import syntax or even syntax similar to import is dead.
Does that mean the whole idea is dead? Because as I see it, there are
only two ways this could possibly be implemented:
1. As a statement similar to import, which you declared dead.
2. As an assignment, which you declared dead IIRC primarily because the
RHS should not be "peeking" into the LHS.
Or am I interpreting "similar to import" too broadly? Is a statement
using other words still on the table?
d = {"foo": 42}
<something> d <something> 42 # or the other way around
assert foo == 42
Best,
Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
More information about the Python-ideas
mailing list