Python version
Python Version
Lets start off by looking at Python history. Python was developed at a time when many other dynamic and open-source programming languages like Tcl, Perl, Ruby etc. were also being actively developed and gaining popularity.
1
Python 1.0
In January 1994, the first version of Python 1.0 was released. This version 1 includes the major new features like the functional programming tools filter, reduce, map, and lambda etc.
2
Python 2.0
After Six and a half years later, Python 2.0 was introduced in October 2000. In this release, a full garbage collector, list comprehensions were included, and it also supports Unicode.
3
Python 3.0
then after 8 years, the next major release was made. This release was Python 3.0 also known as”Py3K” or “Python 3000”.
Advertisment
The major changes in Python 3.0 are:
- In this version, Print is a Python function
- Instead of lists, in this version, we have Views and iterators.
- In this version, we have more simplified rules for ordering comparisons. For example, we cannot sort a heterogeneous list, because each element of a Python List must be comparable to other elements.
- In this python version, int. long is also an int as there is only one integer type.
- In this python version, when we divide two integers it resultant returns is a float instead of an integer. We can use “//” to have the “old” behavior.
- In this python version, Instead of Unicode Vs. 8-bit we have Text Vs. Data
- The one drawback of Python 3.0 is that it is not backward compatible with Python 2.x.
- Adverisment
Python Latest version:
The Python latest version is 3.7.0. This stable version was released on 27 June. The current latest (as of Winter 2019) is Python 3.7.2.
The Python 3.7 version is aimed at making complex tasks simple, and It is currently in production release. The improvements to Python 3.7 version include:
- Data classes that reduce boilerplate when working with data in classes.
- A “development mode” for the interpreter.
- A new built-in for triggering the debugger.
- UTF-8 mode that uses UTF-8 encoding by default in the environment.
- A potentially backward-incompatible change involving the handling of exceptions in generators.
- Nanosecond-resolution time objects .
- Advertisment