[Python-Dev] Any grammar experts?

Antoine Pitrou solipsis at pitrou.net
Mon Jan 26 21:09:44 CET 2015


On Mon, 26 Jan 2015 12:06:26 -0800
Ethan Furman <ethan at stoneleaf.us> wrote:
> It destroy's the chaining value and pretty much makes the improvement not an improvement.  If there's a possibility that
> the same key could be in more than one of the dictionaries then you still have to do the
> 
>   dict.update(another_dict)

So what? Is the situation where chaining is desirable common enough?

Not every new feature warrants a syntax addition - especially when it
raises eyebrows as here, and ends up being as obscure as Perl code.

Regards

Antoine.




More information about the Python-Dev mailing list