Re: [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!

2018年4月26日 09:09:06 -0700

On Fri, Apr 27, 2018 at 2:02 AM, Guido van Rossum <[email protected]> wrote:
> Maybe the order for d[k] = v should also be reconsidered?
If so, it would be something like:
1) Evaluate d
2) Evaluate k
3) Evaluate v
4) Call d.__setitem__(k, v), via slots etc
In a vacuum, I don't have a problem with that. But I suspect that it'd
break more code than the comprehensions changes do.
ChrisA
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to