[Python-ideas] Have dict().update() return its own reference.

Sven Marnach sven at marnach.net
Fri Apr 20 17:47:05 CEST 2012

Alexander Belopolsky schrieb am Fri, 20. Apr 2012, um 11:00:28 -0400:
> I seem to recall that CPython had a similar limitation in the past,
> but it was removed at some point.  I will try to dig out the relevant
> discussion, but I think the consensus was that ** should not attempt
> validate the keys.

It's the other way around.  Your code used to work in Python 2.x, but
it doesn't work in Python 3.x.


More information about the Python-ideas mailing list