News

Python supports list comprehension. You can think of list comprehension syntax as being a kind of syntactic “sugar” that hides a bunch of function calls behind some pretty looking syntax.
Python 3.9’s PEG-based parser removed these barriers, which long-term could lead to more elegant syntax — our first example of this change is the new parenthesized context managers.