On Fri, 6 Sep 2019 at 01:54, Guido van Rossum
On Thu, Sep 5, 2019 at 8:37 PM Joao S. O. Bueno
wrote: Also, if one have in mind that dict addition with the `+` operator had been recelently approved
Where did you hear this? I am not aware that this was even made into a PEP let alone that such a PEP was approved.
Well - the idea showed up here, and got an immediate "that is nice, let's do it" from you, followed by approval from a lot more people, and very little controverse. So, it is pretty much "approved", even if not yet detailed in an approved PEP. And 3.9 still sounds quite realistic for that specific feature, unless no one actually writes the PEP. But my bad, I thought the full approval process (PEP included) for that had been carried on already. Nonetheless, the mapping expansion syntax do allow for the OP's needs, and is even a bit shorter than the version using "+".
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him/his **(why is my pronoun here?)* http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...