

As a result, Python added support for type annotations and for primitives.Īsynchronous everything: Support for asynchronous generators and comprehensions has been added.įaster, with lesser memory: The dictionary data type has been overhauled in Python 3.6, and boasts of better speed and around 25% less memory usage. Type hinting: The software development wisdom seems to have come around full-circle compiled languages and strong types are now recognized for their sheer usefulness. NET and Java ecosystems, and accepted the keywords 'async' and 'await' as it is. This is another area where Python was heavily influenced by the developments in. String interpolation and nicer numbers (1_000_000 for a million, for example), have made an appearance.Ĭo-routines: The single biggest addition to the Python interpreter in its 3.6 version is support for co-routines. Some of the neat features in Python 3.6 are:Ĭool new shortcuts: Python 3.6 borrows some really cool syntactic features from the likes of the Ruby language. Does that mean you need to wait till the next LTS before you can get your hands on Python 3.6? Absolutely not!īut before we look at how to install Python 3.6 on Ubuntu 16.04, let's look at why programmers think Python 3.6 is a gift of the gods. The best you can find on Ubuntu 16.04 is 3.5.2. In fact, even as the next LTS release (18.04) is due in short time, the repositories have not been updated to 3.6. That said, Python 3.6 is another game-changer and is, unfortunately, not bundled in the official repositories of Ubuntu 16.04. As a result, Ubuntu 16.04 comes with both versions installed. Eventually, however, the community at large came to appreciate the design decisions behind version 3 and started to adopt it. 3.0 divide, with many refusing the migrate. For many years, the Python community has lived in the 2.7 vs.


The good thing about Ubuntu 16.04, as far as the Python programming environment is concerned, is that it comes with pre-installed Python3 support.
