News for hackers. Stuff that matters.
Re:Python 3.9 by timfi on Tuesday October 06, 2020 @06:48AM (#24696401)
Gotta say though that I intuitivly think of the dict union operator x | y as {* * x, * * y}. Which is how I would have joined two dictionaries before, when I wanted to produce a complete copy of one, i.e. not use dict.update.
Re:Python 3.9 by dr_zoidberg on Tuesday October 06, 2020 @12:40PM (#24699714)
And the behavior of x | y is consistent with both {x, y} and x.update(y).