Release of Python 3.8
The most interesting innovations include: Assignment expression: The new operator := allows for assigning values to variables within expressions. For example: if (n := len(a)) > 10: print(f'List is too long ({n} elements, expected <= 10)') Positional-only arguments: It is now possible to specify which function parameters can be passed using named arguments syntax and which cannot. Example: def f(a, b, \/, c, d, *, […]
