News for hackers. Stuff that matters.
Re:PEP 572: Python assignment expressions has been accepted by lukeschlather on Tuesday July 03, 2018 @05:40PM (#17453797)
In fairness, the Python also should be broken up. It should be:

    [
      found_node.get("value") 
      for node in tree 
      if (found_node := node.find(SOME_XPATH)) is not None
    ]
I think I also prefer Ruby/Javascript style comprehensions, but it's worth comparing well formatted code.

There are no comments on this comment yet.