Python 3.5 has reached end-of-life as of September 2020, and 3.6 has some moderately nice features:
f'x = {x}'
as an alternative to'x = {}'.format(x)
format strings (cf #13718 (comment))- underscore separators for large numbers, like
1_234_567
- improvements to async
- improvements to typing module
Note that 3.6 is not available in xenial (16.04), but is available in bionic (18.04), while focal (20.04) has 3.8. CentOS 7 and 8 have 3.6.8, Debian stable has 3.7.3, and gentoo and arch already had 3.6 and 3.7 in 2018.