[Python-Dev] (name := expression) doesn't fit the narrative of PEP 20 (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 26 06:39:31 EDT 2018
- Previous message (by thread): [Python-Dev] (name := expression) doesn't fit the narrative of PEP 20
- Next message (by thread): [Python-Dev] Visual similarity of "=" and "==" (in context of PEP 572)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Antoine Pitrou wrote:
Depends if you mean a graph between names or values?
If between names, you can even have cycles AFAICT:
((a: = a + b), (b: = a))
I was thinking more of the dataflow graph. That's not a cycle between values, since the new values being bound are calculated from the previous values of the names.
-- Greg
- Previous message (by thread): [Python-Dev] (name := expression) doesn't fit the narrative of PEP 20
- Next message (by thread): [Python-Dev] Visual similarity of "=" and "==" (in context of PEP 572)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]