[Python-Dev] Any grammar experts?

Antoine Pitrou solipsis at pitrou.net
Mon Jan 26 22:05:44 CET 2015


On Mon, 26 Jan 2015 12:22:20 -0800
Ethan Furman <ethan at stoneleaf.us> wrote:
> On 01/26/2015 12:09 PM, Antoine Pitrou wrote:
> > 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?
> 
> Common enough to not break it, yes.

Really? What are the use cases?

> > Not every new feature warrants a syntax addition - especially when it
> > raises eyebrows as here, and ends up being as obscure as Perl code.
> 
> Not sure what you mean here -- the new feature is a syntax addition

That's what I said.





More information about the Python-Dev mailing list