[Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity! (original) (raw)
Chris Angelico rosuav at gmail.com
Thu Apr 26 12:06:33 EDT 2018
- Previous message (by thread): [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!
- Next message (by thread): [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Apr 27, 2018 at 2:02 AM, Guido van Rossum <gvanrossum at gmail.com> wrote:
Maybe the order for d[k] = v should also be reconsidered?
If so, it would be something like:
- Evaluate d
- Evaluate k
- Evaluate v
- 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
- Previous message (by thread): [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!
- Next message (by thread): [Python-Dev] The new and improved PEP 572, same great taste with 75% less complexity!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]